|
Dear Committers.
pls find
1) A unit test case for the
org.apache.geronimo.common.Strings 2) A patch which adds null check for
org.apache.geronimo.common.Strings.isEmpty() method
Regards
Sivasundaram Umapathy :)
|
Index: Strings.java
===================================================================
RCS file:
/home/cvspublic/incubator-geronimo/modules/common/src/java/org/apache/geronimo/common/Strings.java,v
retrieving revision 1.5
diff -u -r1.5 Strings.java
--- Strings.java 14 Aug 2003 20:24:34 -0000 1.5
+++ Strings.java 16 Aug 2003 11:59:35 -0000
@@ -613,6 +613,8 @@
* @return True if string is empty
*/
public static boolean isEmpty(final String string) {
+ if(string == null)
+ return false;
return string.equals(EMPTY);
}
StringsTest.jar
Description: application/compressed
