1
0
mirror of https://github.com/pcvolkmer/onkostar-plugin-dnpm.git synced 2025-07-04 10:02:55 +00:00

Verwende AnalyzerUtils in TherapieplanAnalyzer

This commit is contained in:
2023-03-28 14:04:33 +02:00
parent 94ce056549
commit 4c0d94f28e
2 changed files with 7 additions and 8 deletions

View File

@ -104,7 +104,7 @@ public class AnalyzerUtils {
* @return <code>true</code>>, wenn ein Wert gefunden wurde, der dem RegExp entspricht
*/
public static boolean requiredValueIsId(final Map<String, Object> input, final String key) {
return requiredValuePresent(input, key, Integer.class) && Integer.valueOf(input.get(key).toString()) > 0;
return requiredValuePresent(input, key, Integer.class) && Integer.parseInt(input.get(key).toString()) > 0;
}
/**