From e1f2d044eda8f3a5e4ae035ea71e19e080b1d913 Mon Sep 17 00:00:00 2001 From: James Agnew Date: Sun, 15 Dec 2019 09:42:51 -0500 Subject: [PATCH] Add errorprone back into build --- azure-pipelines.yml | 2 +- .../main/java/ca/uhn/fhir/validation/ValidationResult.java | 2 +- .../resources/ca/uhn/hapi/fhir/docs/introduction/changelog.md | 2 +- pom.xml | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 2de8adae5c0..6f9ad3f95d1 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -25,7 +25,7 @@ jobs: inputs: goals: 'clean install' # These are Maven CLI options (and show up in the build logs) - "-nsu"=Don't update snapshots. We can remove this when Maven OSS is more healthy - options: '-P ALLMODULES,JACOCO,CI -nsu' + options: '-P ALLMODULES,JACOCO,CI,ERRORPRONE -nsu' # These are JVM options (and don't show up in the build logs) mavenOptions: '-Xmx2048m $(MAVEN_OPTS) -Dorg.slf4j.simpleLogger.showDateTime=true -Dorg.slf4j.simpleLogger.dateTimeFormat=HH:mm:ss,SSS -Duser.timezone=America/Toronto' jdkVersionOption: 1.11 diff --git a/hapi-fhir-base/src/main/java/ca/uhn/fhir/validation/ValidationResult.java b/hapi-fhir-base/src/main/java/ca/uhn/fhir/validation/ValidationResult.java index 02716b0312c..ae8feaa6f36 100644 --- a/hapi-fhir-base/src/main/java/ca/uhn/fhir/validation/ValidationResult.java +++ b/hapi-fhir-base/src/main/java/ca/uhn/fhir/validation/ValidationResult.java @@ -130,7 +130,7 @@ public class ValidationResult { line = next.getLocationLine().toString(); } String col = unknown; - if (next.getLocationCol() != null && next.getLocationCol() != null) { + if (next.getLocationCol() != null && next.getLocationCol() != -1) { col = next.getLocationCol().toString(); } if (!unknown.equals(line) || !unknown.equals(col)) { diff --git a/hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/docs/introduction/changelog.md b/hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/docs/introduction/changelog.md index e8172bc7d18..e9a92179905 100644 --- a/hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/docs/introduction/changelog.md +++ b/hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/docs/introduction/changelog.md @@ -2,7 +2,7 @@ -# Smile CDR (Prerelease) +# Smile CDR (Prerelease) ## Release Information diff --git a/pom.xml b/pom.xml index 6e6100c2698..6cfc677e339 100644 --- a/pom.xml +++ b/pom.xml @@ -623,7 +623,7 @@ 3.9 10.14.2.0 - 2.3.3 + 2.3.4 2.3.3 28.0-jre 2.8.5 @@ -1308,7 +1308,7 @@ org.mockito mockito-core - 3.1.0 + 3.2.0 org.postgresql