You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by le...@apache.org on 2010/12/12 22:31:51 UTC

svn commit: r1044932 - in /ofbiz/trunk/framework: base/src/org/ofbiz/base/util/cache/UtilCache.java base/src/org/ofbiz/base/util/string/test/FlexibleStringExpanderTests.java entity/src/org/ofbiz/entity/GenericEntity.java

Author: lektran
Date: Sun Dec 12 21:31:51 2010
New Revision: 1044932

URL: http://svn.apache.org/viewvc?rev=1044932&view=rev
Log:
Removed unnecessary SuppressWarnings annotations

Modified:
    ofbiz/trunk/framework/base/src/org/ofbiz/base/util/cache/UtilCache.java
    ofbiz/trunk/framework/base/src/org/ofbiz/base/util/string/test/FlexibleStringExpanderTests.java
    ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericEntity.java

Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/util/cache/UtilCache.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/util/cache/UtilCache.java?rev=1044932&r1=1044931&r2=1044932&view=diff
==============================================================================
--- ofbiz/trunk/framework/base/src/org/ofbiz/base/util/cache/UtilCache.java (original)
+++ ofbiz/trunk/framework/base/src/org/ofbiz/base/util/cache/UtilCache.java Sun Dec 12 21:31:51 2010
@@ -246,7 +246,6 @@ public class UtilCache<K, V> implements 
         return key == ObjectType.NULL ? null : (K) key;
     }
 
-    @SuppressWarnings("unchecked")
     private void addAllFileTableValues(List<V> values) throws IOException {
         FastIterator<V> iter = fileTable.values();
         V value = iter.next();

Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/util/string/test/FlexibleStringExpanderTests.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/util/string/test/FlexibleStringExpanderTests.java?rev=1044932&r1=1044931&r2=1044932&view=diff
==============================================================================
--- ofbiz/trunk/framework/base/src/org/ofbiz/base/util/string/test/FlexibleStringExpanderTests.java (original)
+++ ofbiz/trunk/framework/base/src/org/ofbiz/base/util/string/test/FlexibleStringExpanderTests.java Sun Dec 12 21:31:51 2010
@@ -238,7 +238,6 @@ public class FlexibleStringExpanderTests
         }
     }
 
-    @SuppressWarnings("unchecked")
     public static class SpecialNumberToString extends AbstractConverter<SpecialNumber, String> {
         public SpecialNumberToString() {
             super(SpecialNumber.class, String.class);

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=1044932&r1=1044931&r2=1044932&view=diff
==============================================================================
--- ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericEntity.java (original)
+++ ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericEntity.java Sun Dec 12 21:31:51 2010
@@ -289,7 +289,6 @@ public class GenericEntity extends Obser
     /** Get the GenericDelegator instance that created this value object and that is responsible for it.
      *@return GenericDelegator object
      */
-    @SuppressWarnings("deprecation")
     public Delegator getDelegator() {
         if (internalDelegator == null) {
             if (delegatorName == null) delegatorName = "default";