Author: doogie
Date: Mon Mar 15 17:31:34 2010 New Revision: 923354 URL: http://svn.apache.org/viewvc?rev=923354&view=rev Log: Move Factory to lang package. Added: ofbiz/trunk/framework/base/src/org/ofbiz/base/lang/Factory.java - copied, changed from r923350, ofbiz/trunk/framework/base/src/org/ofbiz/base/util/Factory.java Removed: ofbiz/trunk/framework/base/src/org/ofbiz/base/util/Factory.java Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilObject.java ofbiz/trunk/framework/base/src/org/ofbiz/base/util/test/UtilObjectTests.java ofbiz/trunk/framework/entity/src/org/ofbiz/entity/DelegatorFactory.java Copied: ofbiz/trunk/framework/base/src/org/ofbiz/base/lang/Factory.java (from r923350, ofbiz/trunk/framework/base/src/org/ofbiz/base/util/Factory.java) URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/lang/Factory.java?p2=ofbiz/trunk/framework/base/src/org/ofbiz/base/lang/Factory.java&p1=ofbiz/trunk/framework/base/src/org/ofbiz/base/util/Factory.java&r1=923350&r2=923354&rev=923354&view=diff ============================================================================== --- ofbiz/trunk/framework/base/src/org/ofbiz/base/util/Factory.java (original) +++ ofbiz/trunk/framework/base/src/org/ofbiz/base/lang/Factory.java Mon Mar 15 17:31:34 2010 @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. *******************************************************************************/ -package org.ofbiz.base.util; +package org.ofbiz.base.lang; /** Factory interface. */ public interface Factory<R, A> { Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilObject.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilObject.java?rev=923354&r1=923353&r2=923354&view=diff ============================================================================== --- ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilObject.java (original) +++ ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilObject.java Mon Mar 15 17:31:34 2010 @@ -27,6 +27,8 @@ import java.io.InputStream; import java.util.Iterator; import java.util.ServiceLoader; +import org.ofbiz.base.lang.Factory; + /** * UtilObject * Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/util/test/UtilObjectTests.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/util/test/UtilObjectTests.java?rev=923354&r1=923353&r2=923354&view=diff ============================================================================== --- ofbiz/trunk/framework/base/src/org/ofbiz/base/util/test/UtilObjectTests.java (original) +++ ofbiz/trunk/framework/base/src/org/ofbiz/base/util/test/UtilObjectTests.java Mon Mar 15 17:31:34 2010 @@ -29,8 +29,8 @@ import java.io.Serializable; import java.util.HashMap; import java.util.Set; +import org.ofbiz.base.lang.Factory; import org.ofbiz.base.util.Debug; -import org.ofbiz.base.util.Factory; import org.ofbiz.base.util.GroovyUtil; import org.ofbiz.base.util.UtilObject; import org.ofbiz.base.test.GenericTestCaseBase; Modified: ofbiz/trunk/framework/entity/src/org/ofbiz/entity/DelegatorFactory.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/DelegatorFactory.java?rev=923354&r1=923353&r2=923354&view=diff ============================================================================== --- ofbiz/trunk/framework/entity/src/org/ofbiz/entity/DelegatorFactory.java (original) +++ ofbiz/trunk/framework/entity/src/org/ofbiz/entity/DelegatorFactory.java Mon Mar 15 17:31:34 2010 @@ -20,8 +20,8 @@ package org.ofbiz.entity; import java.util.concurrent.ConcurrentHashMap; +import org.ofbiz.base.lang.Factory; import org.ofbiz.base.util.Debug; -import org.ofbiz.base.util.Factory; import org.ofbiz.base.util.UtilObject; /** <code>Delegator</code> factory abstract class. */ |
Free forum by Nabble | Edit this page |