From 1f4aaad628576d32ec281edc0e64f4b5e18c2b92 Mon Sep 17 00:00:00 2001 From: Sean Owen Date: Thu, 25 Oct 2018 07:43:26 -0500 Subject: [PATCH] Minor dependency and inspection changes --- .travis.yml | 8 ++-- .../decoder/DecodedBitStreamParser.java | 1 + pom.xml | 40 ++++++++++++------- 3 files changed, 30 insertions(+), 19 deletions(-) diff --git a/.travis.yml b/.travis.yml index e75c5c451..17111cde0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,8 @@ language: java sudo: false -install: mvn -Ptravis -DskipTests=true -B -V install +install: mvn -Ptravis -DskipTests=true -nsu -B install script: - - mvn -Ptravis ${JACOCO} test + - mvn -Ptravis ${JACOCO} -nsu -B test - find $HOME/.m2/repository/com/google/zxing -path "*SNAPSHOT/*" -delete - find $HOME/.m2/repository/com/google/zxing -name "*SNAPSHOT" -type d -delete matrix: @@ -10,8 +10,8 @@ matrix: # Covers Java 7, Open JDK, and code coverage - jdk: openjdk7 env: JACOCO=-Pjacoco - # Covers Java 8, Oracle JDK, Android apps - - jdk: oraclejdk8 + # Covers Java 8, Android apps + - jdk: openjdk8 env: ANDROID_HOME=$HOME/android-sdk-linux before_install: if [ ! -d $HOME/android-sdk-linux/platforms ]; then curl -s https://storage.googleapis.com/zxing-build/android-sdk-linux.tar.bz2 | bunzip2 | tar xf - -C $HOME; else ls -l $HOME/android-sdk-linux; fi # Covers Java 9 diff --git a/core/src/main/java/com/google/zxing/pdf417/decoder/DecodedBitStreamParser.java b/core/src/main/java/com/google/zxing/pdf417/decoder/DecodedBitStreamParser.java index d4dc585b3..c0511d590 100644 --- a/core/src/main/java/com/google/zxing/pdf417/decoder/DecodedBitStreamParser.java +++ b/core/src/main/java/com/google/zxing/pdf417/decoder/DecodedBitStreamParser.java @@ -164,6 +164,7 @@ final class DecodedBitStreamParser { return decoderResult; } + @SuppressWarnings("deprecation") static int decodeMacroBlock(int[] codewords, int codeIndex, PDF417ResultMetadata resultMetadata) throws FormatException { if (codeIndex + NUMBER_OF_SEQUENCE_CODEWORDS > codewords[0]) { diff --git a/pom.xml b/pom.xml index b4e4005a2..1183a57ee 100644 --- a/pom.xml +++ b/pom.xml @@ -127,15 +127,13 @@ org.apache.maven.plugins maven-enforcer-plugin - - 3.0.0-M1 + 3.0.0-M2 enforce - @@ -197,14 +195,6 @@ - - - - org.apache.commons - commons-lang3 - 3.8 - - org.apache.maven.plugins @@ -227,7 +217,7 @@ org.apache.maven.plugins maven-install-plugin - 2.5.2 + 3.0.0-M1 true @@ -300,7 +290,7 @@ org.apache.maven.plugins maven-deploy-plugin - 2.8.2 + 3.0.0-M1 org.apache.maven.plugins @@ -332,7 +322,7 @@ org.apache.maven.plugins maven-surefire-plugin - 2.22.0 + 2.22.1 0.5C @@ -470,7 +460,7 @@ com.puppycrawl.tools checkstyle - 8.12 + 8.14 @@ -847,6 +837,26 @@ + + javadoc-9 + + [9,) + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + + + -html5 + + + + + +