Author: deepak
Date: Sat Feb 20 12:11:01 2016
New Revision: 1731385

URL: http://svn.apache.org/viewvc?rev=1731385&view=rev
Log:

OFBIZ-6279: Migrated changes from r1675462 to Trunk.
Log:
============================================================
UtilDateTime implements deprecated methods, so add the
@Deprecated tag to stop javac from producing a warning.
============================================================

Modified:
    ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilDateTime.java

Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilDateTime.java
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilDateTime.java?rev=1731385&r1=1731384&r2=1731385&view=diff
==============================================================================
--- ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilDateTime.java 
(original)
+++ ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilDateTime.java Sat 
Feb 20 12:11:01 2016
@@ -1193,32 +1193,32 @@ public class UtilDateTime {
             return this;
         }
 
-        @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();
         }


Reply via email to