diff options
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/utils/repopatterns/RepoPatternExclusiveGroup.kt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/repopatterns/RepoPatternExclusiveGroup.kt b/src/main/java/at/hannibal2/skyhanni/utils/repopatterns/RepoPatternExclusiveGroup.kt index b68176fd7..ff65da923 100644 --- a/src/main/java/at/hannibal2/skyhanni/utils/repopatterns/RepoPatternExclusiveGroup.kt +++ b/src/main/java/at/hannibal2/skyhanni/utils/repopatterns/RepoPatternExclusiveGroup.kt @@ -1,5 +1,7 @@ package at.hannibal2.skyhanni.utils.repopatterns +import java.util.regex.Pattern + /** * A utility class for allowing easier definitions of [RepoPattern]s with a common prefix. */ @@ -9,5 +11,5 @@ class RepoPatternExclusiveGroup internal constructor(prefix: String, owner: Repo /** * @return returns any pattern on the [prefix] key space (including list or any other complex structure, but as a simple pattern * */ - fun getUnusedPatterns() = RepoPatternManager.getUnusedPatterns(prefix) + fun getUnusedPatterns(): List<Pattern> = RepoPatternManager.getUnusedPatterns(prefix) } |