From 636a90a08febd621574657883d83a41ee7c4d0df Mon Sep 17 00:00:00 2001 From: Oleg Zhurakousky Date: Fri, 13 May 2011 22:41:23 -0400 Subject: [PATCH] INT-1903 fixed the ignored test compile error --- .../integration/core/TimeBasedUUIDGenerator.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spring-integration-core/src/test/java/org/springframework/integration/core/TimeBasedUUIDGenerator.java b/spring-integration-core/src/test/java/org/springframework/integration/core/TimeBasedUUIDGenerator.java index b8dde97618..6a26c38531 100644 --- a/spring-integration-core/src/test/java/org/springframework/integration/core/TimeBasedUUIDGenerator.java +++ b/spring-integration-core/src/test/java/org/springframework/integration/core/TimeBasedUUIDGenerator.java @@ -88,7 +88,8 @@ class TimeBasedUUIDGenerator { InetAddress address = InetAddress.getLocalHost(); NetworkInterface ni = NetworkInterface.getByInetAddress(address); if (ni != null) { - byte[] mac = ni.getHardwareAddress(); + //byte[] mac = ni.getHardwareAddress(); // availabe since Java 1.6 + byte[] mac = "01:23:45:67:89:ab".getBytes(); //Converts array of unsigned bytes to an long if (mac != null) { for (int i = 0; i < mac.length; i++) {