svn commit: r821405 - in /ofbiz/trunk/framework/entity/src/org/ofbiz/entity: GenericEntity.java cache/AbstractCache.java condition/EntityExpr.java finder/ListFinder.java

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

svn commit: r821405 - in /ofbiz/trunk/framework/entity/src/org/ofbiz/entity: GenericEntity.java cache/AbstractCache.java condition/EntityExpr.java finder/ListFinder.java

doogie-3
Author: doogie
Date: Sat Oct  3 20:01:16 2009
New Revision: 821405

URL: http://svn.apache.org/viewvc?rev=821405&view=rev
Log:
Suppress deprecation warnings.

Modified:
    ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericEntity.java
    ofbiz/trunk/framework/entity/src/org/ofbiz/entity/cache/AbstractCache.java
    ofbiz/trunk/framework/entity/src/org/ofbiz/entity/condition/EntityExpr.java
    ofbiz/trunk/framework/entity/src/org/ofbiz/entity/finder/ListFinder.java

Modified: ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericEntity.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericEntity.java?rev=821405&r1=821404&r2=821405&view=diff
==============================================================================
--- ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericEntity.java (original)
+++ ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericEntity.java Sat Oct  3 20:01:16 2009
@@ -282,6 +282,7 @@
     /** Get the GenericDelegator instance that created this value object and that is responsible for it.
      *@return GenericDelegator object
      */
+    @SuppressWarnings("deprecation")
     public GenericDelegator getDelegator() {
         if (internalDelegator == null) {
             if (delegatorName == null) delegatorName = "default";

Modified: ofbiz/trunk/framework/entity/src/org/ofbiz/entity/cache/AbstractCache.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/cache/AbstractCache.java?rev=821405&r1=821404&r2=821405&view=diff
==============================================================================
--- ofbiz/trunk/framework/entity/src/org/ofbiz/entity/cache/AbstractCache.java (original)
+++ ofbiz/trunk/framework/entity/src/org/ofbiz/entity/cache/AbstractCache.java Sat Oct  3 20:01:16 2009
@@ -30,6 +30,7 @@
         this.id = id;
     }
 
+    @SuppressWarnings("deprecation")
     public GenericDelegator getDelegator() {
         return GenericDelegator.getGenericDelegator(delegatorName);
     }

Modified: ofbiz/trunk/framework/entity/src/org/ofbiz/entity/condition/EntityExpr.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/condition/EntityExpr.java?rev=821405&r1=821404&r2=821405&view=diff
==============================================================================
--- ofbiz/trunk/framework/entity/src/org/ofbiz/entity/condition/EntityExpr.java (original)
+++ ofbiz/trunk/framework/entity/src/org/ofbiz/entity/condition/EntityExpr.java Sat Oct  3 20:01:16 2009
@@ -233,6 +233,7 @@
         visitor.acceptEntityExpr(this);
     }
 
+    @SuppressWarnings("deprecation")
     public void checkRhsType(ModelEntity modelEntity, GenericDelegator delegator) {
         if (this.rhs == null || this.rhs == GenericEntity.NULL_FIELD || modelEntity == null) return;
 

Modified: ofbiz/trunk/framework/entity/src/org/ofbiz/entity/finder/ListFinder.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/finder/ListFinder.java?rev=821405&r1=821404&r2=821405&view=diff
==============================================================================
--- ofbiz/trunk/framework/entity/src/org/ofbiz/entity/finder/ListFinder.java (original)
+++ ofbiz/trunk/framework/entity/src/org/ofbiz/entity/finder/ListFinder.java Sat Oct  3 20:01:16 2009
@@ -115,6 +115,7 @@
     }
 
     @Override
+    @SuppressWarnings("deprecation")
     public void runFind(Map<String, Object> context, GenericDelegator delegator) throws GeneralException {
         String entityName = this.entityNameExdr.expandString(context);
         String useCacheStr = this.useCacheStrExdr.expandString(context);