diff --git a/pom.xml b/pom.xml index 84de872..5c4fb83 100644 --- a/pom.xml +++ b/pom.xml @@ -206,13 +206,13 @@ net.sourceforge.pmd pmd-core - 6.25.0 + 6.55.0 compile net.sourceforge.pmd pmd-java - 6.25.0 + 6.55.0 compile diff --git a/src/main/java/io/zonky/test/db/postgres/embedded/DefaultPostgresBinaryResolver.java b/src/main/java/io/zonky/test/db/postgres/embedded/DefaultPostgresBinaryResolver.java index b44efc7..b90fda6 100644 --- a/src/main/java/io/zonky/test/db/postgres/embedded/DefaultPostgresBinaryResolver.java +++ b/src/main/java/io/zonky/test/db/postgres/embedded/DefaultPostgresBinaryResolver.java @@ -63,8 +63,8 @@ public InputStream getPgBinary(String system, String machineHardware) throws IOE return resource.getInputStream(); } - if ((StringUtils.equals(system, "Darwin") && StringUtils.equals(machineHardware, "aarch64")) - || (StringUtils.equals(system, "Windows") && StringUtils.equals(architecture, "arm_64"))) { + if ((StringUtils.equals(system, "Darwin") && StringUtils.equals(machineHardware, "aarch64")) // NOPMD + || (StringUtils.equals(system, "Windows") && StringUtils.equals(architecture, "arm_64"))) { // NOPMD resource = findPgBinary(normalize(format("postgres-%s-%s.txz", system, "x86_64"))); if (resource != null) { logger.warn("No native binaries supporting ARM architecture found. " +