Author: doogie
Date: Mon Mar 15 17:33:24 2010
New Revision: 923358
URL:
http://svn.apache.org/viewvc?rev=923358&view=revLog:
Move ObjectWrapper to the lang package.
Added:
ofbiz/trunk/framework/base/src/org/ofbiz/base/lang/ObjectWrapper.java
- copied, changed from r923356, ofbiz/trunk/framework/base/src/org/ofbiz/base/util/ObjectWrapper.java
Removed:
ofbiz/trunk/framework/base/src/org/ofbiz/base/util/ObjectWrapper.java
Modified:
ofbiz/trunk/framework/base/src/org/ofbiz/base/concurrent/TTLObject.java
ofbiz/trunk/framework/base/src/org/ofbiz/base/concurrent/test/SyncTTLObjectTest.java
Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/concurrent/TTLObject.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/concurrent/TTLObject.java?rev=923358&r1=923357&r2=923358&view=diff==============================================================================
--- ofbiz/trunk/framework/base/src/org/ofbiz/base/concurrent/TTLObject.java (original)
+++ ofbiz/trunk/framework/base/src/org/ofbiz/base/concurrent/TTLObject.java Mon Mar 15 17:33:24 2010
@@ -28,7 +28,7 @@ import java.util.concurrent.ScheduledExe
import java.util.concurrent.atomic.AtomicIntegerFieldUpdater;
import java.util.concurrent.atomic.AtomicReferenceFieldUpdater;
-import org.ofbiz.base.util.ObjectWrapper;
+import org.ofbiz.base.lang.ObjectWrapper;
import org.ofbiz.base.util.UtilIO;
public abstract class TTLObject<T> implements ObjectWrapper<T> {
Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/concurrent/test/SyncTTLObjectTest.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/concurrent/test/SyncTTLObjectTest.java?rev=923358&r1=923357&r2=923358&view=diff==============================================================================
--- ofbiz/trunk/framework/base/src/org/ofbiz/base/concurrent/test/SyncTTLObjectTest.java (original)
+++ ofbiz/trunk/framework/base/src/org/ofbiz/base/concurrent/test/SyncTTLObjectTest.java Mon Mar 15 17:33:24 2010
@@ -21,8 +21,8 @@ package org.ofbiz.base.concurrent.test;
import java.util.concurrent.Callable;
import java.util.concurrent.Future;
-import org.ofbiz.base.util.ObjectWrapper;
import org.ofbiz.base.concurrent.TTLObject;
+import org.ofbiz.base.lang.ObjectWrapper;
import org.ofbiz.base.test.GenericTestCaseBase;
public class SyncTTLObjectTest extends TTLObjectTest {
Copied: ofbiz/trunk/framework/base/src/org/ofbiz/base/lang/ObjectWrapper.java (from r923356, ofbiz/trunk/framework/base/src/org/ofbiz/base/util/ObjectWrapper.java)
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/lang/ObjectWrapper.java?p2=ofbiz/trunk/framework/base/src/org/ofbiz/base/lang/ObjectWrapper.java&p1=ofbiz/trunk/framework/base/src/org/ofbiz/base/util/ObjectWrapper.java&r1=923356&r2=923358&rev=923358&view=diff==============================================================================
--- ofbiz/trunk/framework/base/src/org/ofbiz/base/util/ObjectWrapper.java (original)
+++ ofbiz/trunk/framework/base/src/org/ofbiz/base/lang/ObjectWrapper.java Mon Mar 15 17:33:24 2010
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*******************************************************************************/
-package org.ofbiz.base.util;
+package org.ofbiz.base.lang;
public interface ObjectWrapper<T> {
T getObject() throws ObjectException;