diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-06-13 18:27:50 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-06-13 18:27:50 +0200 |
commit | 4277ec5c5ed912d8e27cab801fa95c220db7fe44 (patch) | |
tree | 802daf7c336c10611145405daf442e6b51ff36ba /src/main/java/at | |
parent | ed9a2aa7fafaf0d987d34f8eea529a206d535747 (diff) | |
download | skyhanni-4277ec5c5ed912d8e27cab801fa95c220db7fe44.tar.gz skyhanni-4277ec5c5ed912d8e27cab801fa95c220db7fe44.tar.bz2 skyhanni-4277ec5c5ed912d8e27cab801fa95c220db7fe44.zip |
code cleanup
Diffstat (limited to 'src/main/java/at')
-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) } |