svn commit: r923099 - /ofbiz/trunk/framework/base/src/org/ofbiz/base/conversion/MiscConverters.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r923099 - /ofbiz/trunk/framework/base/src/org/ofbiz/base/conversion/MiscConverters.java

doogie-3
Author: doogie
Date: Mon Mar 15 07:24:51 2010
New Revision: 923099

URL: http://svn.apache.org/viewvc?rev=923099&view=rev
Log:
Test that public objects in a class are skipped over, if they aren't a
ConverterLoader.

Modified:
    ofbiz/trunk/framework/base/src/org/ofbiz/base/conversion/MiscConverters.java

Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/conversion/MiscConverters.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/conversion/MiscConverters.java?rev=923099&r1=923098&r2=923099&view=diff
==============================================================================
--- ofbiz/trunk/framework/base/src/org/ofbiz/base/conversion/MiscConverters.java (original)
+++ ofbiz/trunk/framework/base/src/org/ofbiz/base/conversion/MiscConverters.java Mon Mar 15 07:24:51 2010
@@ -338,12 +338,17 @@ public class MiscConverters implements C
         }
     }
 
-    public static class NotAConverter {
-        protected NotAConverter() {
+    public static class NotAConverter_Helper {
+        protected NotAConverter_Helper() {
             throw new Error("Should not be loaded");
         }
     }
 
+    public static class NotAConverter {
+        public NotAConverter() {
+        }
+    }
+
     public void loadConverters() {
         Converters.loadContainedConverters(MiscConverters.class);
     }