aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Tarassov2018-08-22 23:17:27 -0400
committerEugene Tarassov2018-08-22 23:17:27 -0400
commit8c9d08399a7ee1fbfd45fbc9db74b474e6f08218 (patch)
tree315434a131dd7d8f1689fa2b3efa791aa9d6a721
parent3ed69ee3c25ba7b0fcdd6331916f620d3cc7df29 (diff)
downloadorg.eclipse.tcf-8c9d08399a7ee1fbfd45fbc9db74b474e6f08218.tar.gz
org.eclipse.tcf-8c9d08399a7ee1fbfd45fbc9db74b474e6f08218.tar.xz
org.eclipse.tcf-8c9d08399a7ee1fbfd45fbc9db74b474e6f08218.zip
TCF Core: fixed build error: toUnsignedString() not available before Java 8
-rw-r--r--plugins/org.eclipse.tcf.core/src/org/eclipse/tcf/core/ChannelHTTP.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.tcf.core/src/org/eclipse/tcf/core/ChannelHTTP.java b/plugins/org.eclipse.tcf.core/src/org/eclipse/tcf/core/ChannelHTTP.java
index cb2502bf9..7f5f41959 100644
--- a/plugins/org.eclipse.tcf.core/src/org/eclipse/tcf/core/ChannelHTTP.java
+++ b/plugins/org.eclipse.tcf.core/src/org/eclipse/tcf/core/ChannelHTTP.java
@@ -36,7 +36,7 @@ public class ChannelHTTP extends AbstractChannel {
private static int id_cnt = 0;
private final String id = UUID.randomUUID().toString() +
- "-" + Integer.toUnsignedString(id_cnt++, 16);
+ "-" + Integer.toHexString(id_cnt++);
private final String host;
private final int port;