]> granicus.if.org Git - icu/commitdiff
ICU-9939 Fixed a coding problem detected by FindBugs - commented out synchronized...
authorYoshito Umaoka <y.umaoka@gmail.com>
Fri, 15 Feb 2013 16:36:51 +0000 (16:36 +0000)
committerYoshito Umaoka <y.umaoka@gmail.com>
Fri, 15 Feb 2013 16:36:51 +0000 (16:36 +0000)
X-SVN-Rev: 33236

icu4j/main/classes/core/src/com/ibm/icu/impl/duration/impl/YMDDateFormatter.java

index 94815fb44e4b87b07e5b323bbe94d709ffd3f862..6d403d67a5443b09191d64bc78aa66bfb4ab4775 100644 (file)
@@ -1,6 +1,6 @@
 /*
 ******************************************************************************
-* Copyright (C) 2007-2010, International Business Machines Corporation and   *
+* Copyright (C) 2007-2013, International Business Machines Corporation and   *
 * others. All Rights Reserved.                                               *
 ******************************************************************************
 */
@@ -67,12 +67,12 @@ public class YMDDateFormatter implements DateFormatter {
    * @param date the date
    */
   public String format(Date date) {
-    synchronized (this) {
-      if (df == null) {
-        // ignores requested fields
-        // todo: make this really work
-      }
-    }
+//    synchronized (this) {
+//      if (df == null) {
+//        // ignores requested fields
+//        // todo: make this really work
+//      }
+//    }
     return df.format(date);
   }