From 4df84d679444dc1e6230f69eb5067ebc881c1602 Mon Sep 17 00:00:00 2001 From: Willem Cazander Date: Sun, 9 Mar 2014 16:42:26 +0100 Subject: [PATCH] Removed two java5 compile errors. --- .../src/test/java/org/x4o/xml/core/X4ODebugWriterTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x4o-driver/src/test/java/org/x4o/xml/core/X4ODebugWriterTest.java b/x4o-driver/src/test/java/org/x4o/xml/core/X4ODebugWriterTest.java index 1c68bc4..06dfa69 100644 --- a/x4o-driver/src/test/java/org/x4o/xml/core/X4ODebugWriterTest.java +++ b/x4o-driver/src/test/java/org/x4o/xml/core/X4ODebugWriterTest.java @@ -82,7 +82,7 @@ public class X4ODebugWriterTest extends TestCase { assertTrue("Debug file does not exists.",debugFile.exists()); String debug = readFile(debugFile); assertNotNull(debug); - assertFalse("no debug content",debug.isEmpty()); + assertFalse("no debug content",debug.length()==0); assertTrue("debug content to small",debug.length()>20); //System.out.println("=================== Reader Output ======================"); @@ -104,7 +104,7 @@ public class X4ODebugWriterTest extends TestCase { assertTrue("Debug file does not exists.",debugFile.exists()); String debug = readFile(debugFile); assertNotNull(debug); - assertFalse("no debug content",debug.isEmpty()); + assertFalse("no debug content",debug.length()==0); assertTrue("debug content to small",debug.length()>20); //System.out.println("=================== Writer Output ======================");