Author: doogie
Date: Mon Mar 15 07:24:51 2010
New Revision: 923099
URL:
http://svn.apache.org/viewvc?rev=923099&view=revLog:
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);
}