ofbiz-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adri...@apache.org
Subject svn commit: r910241 - in /ofbiz/trunk/framework/base/src/org/ofbiz/base/conversion: AbstractLocalizedConverter.java CollectionConverters.java Converters.java JSONConverters.java NetConverters.java
Date Mon, 15 Feb 2010 15:52:10 GMT
Author: adrianc
Date: Mon Feb 15 15:52:10 2010
New Revision: 910241

URL: http://svn.apache.org/viewvc?rev=910241&view=rev
Log:
Cleaned up imports in the conversion framework.

Modified:
    ofbiz/trunk/framework/base/src/org/ofbiz/base/conversion/AbstractLocalizedConverter.java
    ofbiz/trunk/framework/base/src/org/ofbiz/base/conversion/CollectionConverters.java
    ofbiz/trunk/framework/base/src/org/ofbiz/base/conversion/Converters.java
    ofbiz/trunk/framework/base/src/org/ofbiz/base/conversion/JSONConverters.java
    ofbiz/trunk/framework/base/src/org/ofbiz/base/conversion/NetConverters.java

Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/conversion/AbstractLocalizedConverter.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/conversion/AbstractLocalizedConverter.java?rev=910241&r1=910240&r2=910241&view=diff
==============================================================================
--- ofbiz/trunk/framework/base/src/org/ofbiz/base/conversion/AbstractLocalizedConverter.java
(original)
+++ ofbiz/trunk/framework/base/src/org/ofbiz/base/conversion/AbstractLocalizedConverter.java
Mon Feb 15 15:52:10 2010
@@ -21,8 +21,6 @@
 import java.util.Locale;
 import java.util.TimeZone;
 
-import org.ofbiz.base.util.ObjectType;
-
 /** Abstract LocalizedConverter class. This class handles converter registration
  * and it implements the <code>canConvert</code>, <code>getSourceClass</code>,
  * and <code>getTargetClass</code> methods.

Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/conversion/CollectionConverters.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/conversion/CollectionConverters.java?rev=910241&r1=910240&r2=910241&view=diff
==============================================================================
--- ofbiz/trunk/framework/base/src/org/ofbiz/base/conversion/CollectionConverters.java (original)
+++ ofbiz/trunk/framework/base/src/org/ofbiz/base/conversion/CollectionConverters.java Mon
Feb 15 15:52:10 2010
@@ -18,18 +18,17 @@
  *******************************************************************************/
 package org.ofbiz.base.conversion;
 
-import java.io.IOException;
 import java.util.Arrays;
 import java.util.List;
 import java.util.Map;
 import java.util.Set;
 
-import org.ofbiz.base.util.ObjectType;
-import org.ofbiz.base.util.StringUtil;
-
 import javolution.util.FastList;
 import javolution.util.FastSet;
 
+import org.ofbiz.base.util.ObjectType;
+import org.ofbiz.base.util.StringUtil;
+
 /** Collection Converter classes. */
 public class CollectionConverters implements ConverterLoader {
     public static class ArrayToList<T> extends AbstractConverter<T[], List<T>>
{

Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/conversion/Converters.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/conversion/Converters.java?rev=910241&r1=910240&r2=910241&view=diff
==============================================================================
--- ofbiz/trunk/framework/base/src/org/ofbiz/base/conversion/Converters.java (original)
+++ ofbiz/trunk/framework/base/src/org/ofbiz/base/conversion/Converters.java Mon Feb 15 15:52:10
2010
@@ -19,10 +19,7 @@
 package org.ofbiz.base.conversion;
 
 import java.lang.reflect.Modifier;
-import java.util.Collection;
 import java.util.Iterator;
-import java.util.Map;
-import java.util.Set;
 
 import javax.imageio.spi.ServiceRegistry;
 

Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/conversion/JSONConverters.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/conversion/JSONConverters.java?rev=910241&r1=910240&r2=910241&view=diff
==============================================================================
--- ofbiz/trunk/framework/base/src/org/ofbiz/base/conversion/JSONConverters.java (original)
+++ ofbiz/trunk/framework/base/src/org/ofbiz/base/conversion/JSONConverters.java Mon Feb 15
15:52:10 2010
@@ -18,19 +18,16 @@
  *******************************************************************************/
 package org.ofbiz.base.conversion;
 
-import java.io.StringReader;
 import java.util.Collection;
 import java.util.List;
 import java.util.Map;
 import java.util.Set;
 
-import org.ofbiz.base.util.UtilGenerics;
-import org.ofbiz.base.json.JSON;
-import org.ofbiz.base.json.JSONWriter;
-
-import javolution.util.FastList;
 import javolution.util.FastSet;
 
+import org.ofbiz.base.json.JSON;
+import org.ofbiz.base.util.UtilGenerics;
+
 /** JSON Converter classes. */
 public class JSONConverters implements ConverterLoader {
     public static class ObjectToJSONResultCreator<R extends JSONResult> implements
ConverterCreater, ConverterLoader {

Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/conversion/NetConverters.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/conversion/NetConverters.java?rev=910241&r1=910240&r2=910241&view=diff
==============================================================================
--- ofbiz/trunk/framework/base/src/org/ofbiz/base/conversion/NetConverters.java (original)
+++ ofbiz/trunk/framework/base/src/org/ofbiz/base/conversion/NetConverters.java Mon Feb 15
15:52:10 2010
@@ -24,17 +24,6 @@
 import java.net.URI;
 import java.net.URISyntaxException;
 import java.net.URL;
-import java.text.NumberFormat;
-import java.text.ParseException;
-import java.util.List;
-import java.util.Locale;
-import java.util.Set;
-import java.util.TimeZone;
-
-import org.ofbiz.base.util.StringUtil;
-
-import javolution.util.FastList;
-import javolution.util.FastSet;
 
 /** Net Converter classes. */
 public class NetConverters implements ConverterLoader {



Mime
View raw message