From 4277ec5c5ed912d8e27cab801fa95c220db7fe44 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Thu, 13 Jun 2024 18:27:50 +0200 Subject: code cleanup --- .../skyhanni/utils/repopatterns/RepoPatternExclusiveGroup.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/main') 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 = RepoPatternManager.getUnusedPatterns(prefix) } -- cgit