Skip to content

Commit

Permalink
Inline getters
Browse files Browse the repository at this point in the history
  • Loading branch information
Goooler committed Nov 28, 2024
1 parent f15d62c commit 898d721
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,26 +55,26 @@ public open class SimpleRelocator @JvmOverloads constructor(

@get:Input
@get:Optional
public open val pattern: String get() = _pattern
public open val pattern: String = _pattern

@get:Input
public open val pathPattern: String get() = _pathPattern
public open val pathPattern: String = _pathPattern

@get:Input
@get:Optional
public open val shadedPattern: String get() = _shadedPattern
public open val shadedPattern: String = _shadedPattern

@get:Input
public open val shadedPathPattern: String get() = _shadedPathPattern
public open val shadedPathPattern: String = _shadedPathPattern

@get:Input
public open val rawString: Boolean get() = _rawString
public open val rawString: Boolean = _rawString

@get:Input
public open val includes: Set<String> get() = _includes
public open val includes: Set<String> = _includes

@get:Input
public open val excludes: Set<String> get() = _excludes
public open val excludes: Set<String> = _excludes

public open fun include(pattern: String): SimpleRelocator = apply {
_includes += normalizePatterns(listOf(pattern))
Expand Down

0 comments on commit 898d721

Please sign in to comment.