Author: alexsmirnov
Date: 2008-08-12 13:38:30 -0400 (Tue, 12 Aug 2008)
New Revision: 10056
Modified:
trunk/ui/extendedDataTable/src/test/java/org/richfaces/renderkit/AbstractExtendedTableRendererTest.java
Log:
Remove JDK6 dependencies
Modified:
trunk/ui/extendedDataTable/src/test/java/org/richfaces/renderkit/AbstractExtendedTableRendererTest.java
===================================================================
---
trunk/ui/extendedDataTable/src/test/java/org/richfaces/renderkit/AbstractExtendedTableRendererTest.java 2008-08-12
17:03:03 UTC (rev 10055)
+++
trunk/ui/extendedDataTable/src/test/java/org/richfaces/renderkit/AbstractExtendedTableRendererTest.java 2008-08-12
17:38:30 UTC (rev 10056)
@@ -109,7 +109,7 @@
element = node;
assertNotNull(element);
String className = element.getAttributeValue("width");
- if (!className.isEmpty()) {
+ if (null != className && className.length()>0) {
assertEquals("100", className);
}
}
@@ -149,7 +149,7 @@
String className = element.getAttributeValue("id");
assertNotNull(className);
- if (!className.isEmpty())
+ if ( className.length()>0)
assertEquals("extDT:fakeIeRow", className);
} else if (node.getNodeName().equalsIgnoreCase("thead")) {
element = node;
Show replies by date