Skip to content

Commit 19a23d5

Browse files
committed
refactor(model-server): reduce Visibilities of consts
1 parent 3bb6c33 commit 19a23d5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

model-server/src/main/kotlin/org/modelix/model/server/handlers/KeyValueLikeModelServer.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@ class KeyValueLikeModelServer(
7979

8080
companion object {
8181
private val LOG = LoggerFactory.getLogger(KeyValueLikeModelServer::class.java)
82-
val HASH_PATTERN = Pattern.compile("[a-zA-Z0-9\\-_]{5}\\*[a-zA-Z0-9\\-_]{38}")
83-
const val PROTECTED_PREFIX = "$$$"
84-
val HEALTH_KEY = PROTECTED_PREFIX + "health2"
82+
private val HASH_PATTERN: Pattern = Pattern.compile("[a-zA-Z0-9\\-_]{5}\\*[a-zA-Z0-9\\-_]{38}")
83+
private const val PROTECTED_PREFIX = "$$$"
84+
private const val HEALTH_KEY = PROTECTED_PREFIX + "health2"
8585
}
8686

8787
fun init(application: Application) {

0 commit comments

Comments
 (0)