diff --git a/helm/Chart.yaml b/helm/Chart.yaml index 2f92eb41..2bf13dd5 100644 --- a/helm/Chart.yaml +++ b/helm/Chart.yaml @@ -21,13 +21,13 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.0.2 +version: 1.1.0 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "3.0.2" +appVersion: "3.1.0-SNAPSHOT" # Chart dependencies dependencies: diff --git a/pom.xml b/pom.xml index 0af35ea8..acc7ade5 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 org.dataone dataone-index-worker - 3.0.2 + 3.1.0-SNAPSHOT jar dataone-index-worker http://maven.apache.org diff --git a/src/test/java/org/dataone/cn/indexer/IndexWorkerTest.java b/src/test/java/org/dataone/cn/indexer/IndexWorkerTest.java index e6d10f85..67f92e1f 100644 --- a/src/test/java/org/dataone/cn/indexer/IndexWorkerTest.java +++ b/src/test/java/org/dataone/cn/indexer/IndexWorkerTest.java @@ -69,7 +69,7 @@ public void testInitExecutorService() throws Exception { } String propertyName = "index.thread.number"; String numberStr = "5"; - int number = (new Integer(numberStr)).intValue(); + int number = Integer.parseInt(numberStr); // only test setting multiple threads if enough processors are available if (finalThreads > number) { Settings.getConfiguration().setProperty(propertyName, numberStr); @@ -79,7 +79,7 @@ public void testInitExecutorService() throws Exception { assertTrue(worker.multipleThread); } numberStr = "1"; - number = (new Integer(numberStr)).intValue(); + number = Integer.parseInt(numberStr); Settings.getConfiguration().setProperty(propertyName, numberStr); worker.initExecutorService(); System.out.println("worker.nThreads(1): " + worker.nThreads);