From 4efebcbf72f3478f59f3360a5a7a55a621492b8c Mon Sep 17 00:00:00 2001 From: Matthew B <106352182+artntek@users.noreply.github.com> Date: Mon, 21 Oct 2024 13:40:02 -0700 Subject: [PATCH 1/3] bump to version 3.1.0-SNAPSHOT --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From 5f5198ad58d745ac077b52d35d32bfdd91c298f8 Mon Sep 17 00:00:00 2001 From: Matthew B <106352182+artntek@users.noreply.github.com> Date: Mon, 21 Oct 2024 13:40:42 -0700 Subject: [PATCH 2/3] fix deprecated code --- src/test/java/org/dataone/cn/indexer/IndexWorkerTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); From 658cdc2103df9ef7ef314c30ccdd79658de1d980 Mon Sep 17 00:00:00 2001 From: Matthew B <106352182+artntek@users.noreply.github.com> Date: Mon, 21 Oct 2024 14:39:57 -0700 Subject: [PATCH 3/3] bump versions to snapshot --- helm/Chart.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: