From 2e16b8f0cb07d90e3669caaeb6da5fa151dcf21f Mon Sep 17 00:00:00 2001 From: anouri Date: Mon, 19 Oct 2020 11:30:36 +0200 Subject: [PATCH] 3rd party library guava upgraded to version 24.1.1-jre #139 --- com.ibm.streamsx.hbase/CHANGELOG.md | 3 +++ .../java/src/com/ibm/streamsx/hbase/HBASEScan.java | 12 ++---------- com.ibm.streamsx.hbase/info.xml | 6 +++++- com.ibm.streamsx.hbase/pom.xml | 4 ++-- 4 files changed, 12 insertions(+), 13 deletions(-) diff --git a/com.ibm.streamsx.hbase/CHANGELOG.md b/com.ibm.streamsx.hbase/CHANGELOG.md index 872b82a..05271e4 100644 --- a/com.ibm.streamsx.hbase/CHANGELOG.md +++ b/com.ibm.streamsx.hbase/CHANGELOG.md @@ -1,6 +1,9 @@ # Changes ========= +## v3.9.2: +* [#139](https://github.com/IBMStreams/streamsx.hbase/issues/139) 3rd party library guava upgraded to version 24.1.1-jre + ## v3.9.1: * [#136](https://github.com/IBMStreams/streamsx.hbase/issues/136) 3rd party library commons-lang3 added diff --git a/com.ibm.streamsx.hbase/impl/java/src/com/ibm/streamsx/hbase/HBASEScan.java b/com.ibm.streamsx.hbase/impl/java/src/com/ibm/streamsx/hbase/HBASEScan.java index 111fa45..c8a0152 100644 --- a/com.ibm.streamsx.hbase/impl/java/src/com/ibm/streamsx/hbase/HBASEScan.java +++ b/com.ibm.streamsx.hbase/impl/java/src/com/ibm/streamsx/hbase/HBASEScan.java @@ -131,6 +131,7 @@ private static class ScanRegion implements Closeable { long rowsScanned; long outstandingRows; + @SuppressWarnings("deprecation") ScanRegion(HBASEScan operator, byte[] rawStartBytes, byte[] endBytes, byte[] lastRow) throws IOException { operator.logger.debug(Messages.getString("HBASE_SCAN_CREATING_REGION_SCAN", rawStartBytes, endBytes, lastRow)); @@ -722,16 +723,6 @@ public synchronized void initialize(OperatorContext context) } - private String printBytes(byte[] endBytes) { - StringBuffer buff = new StringBuffer(); - buff.append("."); - for (byte b : endBytes) { - buff.append(Byte.toString(b)); - buff.append("."); - } - return buff.toString(); - } - private void createRegionQueue() throws IOException { @@ -896,6 +887,7 @@ public void processPunctuation(StreamingInput stream, } } + @SuppressWarnings("deprecation") @Override public void process(StreamingInput stream, Tuple tuple) throws Exception { diff --git a/com.ibm.streamsx.hbase/info.xml b/com.ibm.streamsx.hbase/info.xml index dae88a2..2bb2212 100644 --- a/com.ibm.streamsx.hbase/info.xml +++ b/com.ibm.streamsx.hbase/info.xml @@ -227,8 +227,12 @@ The jar library zookeeper-3.4.13.jar has been replaced with **zookeeper-3.4.6.ja * 3rd party library commons-lang3 added +++ What is new in version 3.9.2 + +* 3rd party library guava upgraded to version 24.1.1-jre + - 3.9.1 + 3.9.2 4.0.0.0 diff --git a/com.ibm.streamsx.hbase/pom.xml b/com.ibm.streamsx.hbase/pom.xml index 1262abc..b66c2be 100644 --- a/com.ibm.streamsx.hbase/pom.xml +++ b/com.ibm.streamsx.hbase/pom.xml @@ -11,7 +11,7 @@ com.ibm.streamsx.hbase streamsx.hbase jar - 3.9.1 + 3.9.2 com.ibm.streamsx.hbase @@ -194,7 +194,7 @@ com.google.guava guava - 20.0 + 24.1.1-jre *