commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject svn commit: r474175 - /jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/AbstractConverter.java
Date Mon, 13 Nov 2006 07:09:44 GMT
Author: bayard
Date: Sun Nov 12 23:09:44 2006
New Revision: 474175

URL: http://svn.apache.org/viewvc?view=rev&rev=474175
Log:
getPackage() returns null for some reason, however unless someone repackages the code there
doesn't seem to be any terrible reason not to hard code the package name

Modified:
    jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/AbstractConverter.java

Modified: jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/AbstractConverter.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/AbstractConverter.java?view=diff&rev=474175&r1=474174&r2=474175
==============================================================================
--- jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/AbstractConverter.java
(original)
+++ jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/AbstractConverter.java
Sun Nov 12 23:09:44 2006
@@ -51,7 +51,9 @@
         "(N.B. Converters can be configured to use default values to avoid throwing exceptions)";
 
     /** Current package name */
-    private static final String PACKAGE = AbstractConverter.class.getPackage().getName()
+ ".";
+    //    getPackage() below returns null on some platforms/jvm versions during the unit
tests.
+//    private static final String PACKAGE = AbstractConverter.class.getPackage().getName()
+ ".";
+    private static final String PACKAGE = "org.apache.commons.beanutils.converters.";
 
     /**
      * Logging for this instance.



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message