ICU-9247 merging changes for #8976 to eclipse34

X-SVN-Rev: 31682
diff --git a/src/com/ibm/icu/impl/duration/impl/Utils.java b/src/com/ibm/icu/impl/duration/impl/Utils.java
index d2ac08a..3bb44f9 100644
--- a/src/com/ibm/icu/impl/duration/impl/Utils.java
+++ b/src/com/ibm/icu/impl/duration/impl/Utils.java
@@ -1,6 +1,6 @@
 /*
 ******************************************************************************
-* Copyright (C) 2007, International Business Machines Corporation and   *
+* Copyright (C) 2007-2012, International Business Machines Corporation and   *
 * others. All Rights Reserved.                                               *
 ******************************************************************************
 */
@@ -173,15 +173,15 @@
     return new String(buf, x, w-x);
   }
 
-  public static void main(String[] args) {
-    for (int i = 0; i < args.length; ++i) {
-      String arg = args[i];
-      System.out.print(arg);
-      System.out.print(" > ");
-      long n = Long.parseLong(arg);
-      System.out.println(chineseNumber(n, ChineseDigits.DEBUG));
-    }
-  }
+//  public static void main(String[] args) {
+//    for (int i = 0; i < args.length; ++i) {
+//      String arg = args[i];
+//      System.out.print(arg);
+//      System.out.print(" > ");
+//      long n = Long.parseLong(arg);
+//      System.out.println(chineseNumber(n, ChineseDigits.DEBUG));
+//    }
+//  }
 
   public static class ChineseDigits {
     final char[] digits;
diff --git a/src/com/ibm/icu/text/BreakDictionary.java b/src/com/ibm/icu/text/BreakDictionary.java
index 16ec9f5..1639e3b 100644
--- a/src/com/ibm/icu/text/BreakDictionary.java
+++ b/src/com/ibm/icu/text/BreakDictionary.java
@@ -1,6 +1,6 @@
 /*
  *******************************************************************************
- * Copyright (C) 1996-2007, International Business Machines Corporation and    *
+ * Copyright (C) 1996-2012, International Business Machines Corporation and    *
  * others. All Rights Reserved.                                                *
  *******************************************************************************
  */
@@ -39,24 +39,24 @@
      * @internal 
      * @deprecated This API is ICU internal only.
      */
-    public static void main(String args[])
-            throws FileNotFoundException, UnsupportedEncodingException, IOException {
-        String filename = args[0];
-
-        BreakDictionary dictionary = new BreakDictionary(new FileInputStream(filename));
-
-        PrintWriter out = null;
-
-        if(args.length >= 2) {
-            out = new PrintWriter(new OutputStreamWriter(new FileOutputStream(args[1]), "UnicodeLittle"));
-        }
-
-        dictionary.printWordList("", 0, out);
-
-        if (out != null) {
-            out.close();
-        }
-    }
+//    public static void main(String args[])
+//            throws FileNotFoundException, UnsupportedEncodingException, IOException {
+//        String filename = args[0];
+//
+//        BreakDictionary dictionary = new BreakDictionary(new FileInputStream(filename));
+//
+//        PrintWriter out = null;
+//
+//        if(args.length >= 2) {
+//            out = new PrintWriter(new OutputStreamWriter(new FileOutputStream(args[1]), "UnicodeLittle"));
+//        }
+//
+//        dictionary.printWordList("", 0, out);
+//
+//        if (out != null) {
+//            out.close();
+//        }
+//    }
 
     /** 
      * @internal