We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 431dd9b commit 26be601Copy full SHA for 26be601
src/main/java/com/databox/sdk/Databox.java
@@ -192,7 +192,6 @@ public StringBuffer lastPush() throws IOException {
192
}
193
194
private String base64Encode(byte[] input) {
195
- Double version = Double.parseDouble(System.getProperty("java.specification.version"));
196
- return version < 1.8 ? DatatypeConverter.printBase64Binary(input) : new String(Base64.getEncoder().encode(input));
+ return DatatypeConverter.printBase64Binary(input);
197
198
0 commit comments