diff --git a/.gitignore b/.gitignore index 4d226ec..307e619 100644 --- a/.gitignore +++ b/.gitignore @@ -36,3 +36,7 @@ ContributorsCheck/contributors-check/src/main/resources/auth.properties NullCheck/src/main/resources/auth.properties auth.properties /target/ + +# IntelliJ Files +.idea/ +*.iml diff --git a/pom.xml b/pom.xml index 6983664..c1a8387 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ resources, i.e. build is platform dependent! See: https://maven.apache.org/general.html --> UTF-8 4.2 - 2.11.0 + 2.16.0 1.4 2.1.0-SNAPSHOT @@ -167,7 +167,7 @@ org.reactome.release release-common-lib - 1.2.0 + 1.2.3-SNAPSHOT junit diff --git a/src/main/java/org/reactome/release/qa/common/AbstractQACheck.java b/src/main/java/org/reactome/release/qa/common/AbstractQACheck.java index 5998e1a..0eadaaf 100644 --- a/src/main/java/org/reactome/release/qa/common/AbstractQACheck.java +++ b/src/main/java/org/reactome/release/qa/common/AbstractQACheck.java @@ -102,7 +102,7 @@ protected boolean isEscaped(GKInstance instance) throws Exception { if (ieDateValue == null) { return true; } - DateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.S"); + DateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); Date ieDate = df.parse(ieDateValue); return !ieDate.after(CUTOFF_DATE); }