Hi Georg > Am 21.02.2025 um 11:55 schrieb [email protected]: > > + public static boolean keyRequiresClean(String parameter) { > + Matcher testMatcher = > Pattern.compile(CHARACTERS_NOT_ALLOWED_IN_KEY).matcher(parameter); > + return testMatcher.find();
It would probably be better to compile the Pattern statically, as this method will possibly be called multiple times *per request*. Bye, Thomas --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
