diff --git a/src/main/java/info/freelibrary/iiif/webrepl/Server.java b/src/main/java/info/freelibrary/iiif/webrepl/Server.java index 5b97ef91..79cbd74c 100644 --- a/src/main/java/info/freelibrary/iiif/webrepl/Server.java +++ b/src/main/java/info/freelibrary/iiif/webrepl/Server.java @@ -329,7 +329,7 @@ private String getImports() throws IOException { * @return A list of Java imports * @throws IOException If there is trouble reading the imports file */ - @SuppressWarnings(PMD.SYSTEM_PRINTLN) + @SuppressWarnings({ PMD.SYSTEM_PRINTLN, Sonar.SYSTEM_OUT_ERR }) private String getImports(final String aSnippet) throws IOException { File importsFile = Path.of("/etc/jshell/imports.jsh").toFile();