From 6a5f48ae2f3a7c3c061e8d03105c1cb34d9643c2 Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Tue, 21 Apr 2015 13:36:13 +0200 Subject: change sessionID and pendingrequestID to unsigned --- .../idserverlib/src/main/java/at/gv/egovernment/moa/id/util/Random.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'id/server/idserverlib/src') diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/util/Random.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/util/Random.java index 2d9fb9196..22a021d99 100644 --- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/util/Random.java +++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/util/Random.java @@ -83,7 +83,7 @@ public class Random { ByteBuffer bb = ByteBuffer.wrap(b); long l = bb.getLong(); - return "" + l; + return "" + Math.abs(l); } -- cgit v1.2.3