You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by do...@apache.org on 2015/04/22 21:33:38 UTC

svn commit: r1675462 - /ofbiz/branches/OFBIZ-6275/framework/base/src/org/ofbiz/base/util/UtilDateTime.java

Author: doogie
Date: Wed Apr 22 19:33:38 2015
New Revision: 1675462

URL: http://svn.apache.org/r1675462
Log:
OFBIZ-6279: UtilDateTime implements deprecated methods, so add the
@Deprecated tag to stop javac from producing a warning.

Modified:
    ofbiz/branches/OFBIZ-6275/framework/base/src/org/ofbiz/base/util/UtilDateTime.java

Modified: ofbiz/branches/OFBIZ-6275/framework/base/src/org/ofbiz/base/util/UtilDateTime.java
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-6275/framework/base/src/org/ofbiz/base/util/UtilDateTime.java?rev=1675462&r1=1675461&r2=1675462&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-6275/framework/base/src/org/ofbiz/base/util/UtilDateTime.java (original)
+++ ofbiz/branches/OFBIZ-6275/framework/base/src/org/ofbiz/base/util/UtilDateTime.java Wed Apr 22 19:33:38 2015
@@ -1194,31 +1194,37 @@ public class UtilDateTime {
         }
 
         @Override
+        @Deprecated
         public void setYear(int year) {
             throw new UnsupportedOperationException();
         }
 
         @Override
+        @Deprecated
         public void setMonth(int month) {
             throw new UnsupportedOperationException();
         }
 
         @Override
+        @Deprecated
         public void setDate(int date) {
             throw new UnsupportedOperationException();
         }
 
         @Override
+        @Deprecated
         public void setHours(int hours) {
             throw new UnsupportedOperationException();
         }
 
         @Override
+        @Deprecated
         public void setMinutes(int minutes) {
             throw new UnsupportedOperationException();
         }
 
         @Override
+        @Deprecated
         public void setSeconds(int seconds) {
             throw new UnsupportedOperationException();
         }