OSDN Git Service

* java/util/ResourceBundle.java (trySomeGetBundle): Removed
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 21 Aug 2000 21:25:55 +0000 (21:25 +0000)
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 21 Aug 2000 21:25:55 +0000 (21:25 +0000)
debugging prints.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35859 138bc75d-0d04-0410-961f-82ee72b054a4

libjava/ChangeLog
libjava/java/util/ResourceBundle.java

index b38b3e3..8b72a7b 100644 (file)
@@ -1,3 +1,8 @@
+2000-08-21  Tom Tromey  <tromey@cygnus.com>
+
+       * java/util/ResourceBundle.java (trySomeGetBundle): Removed
+       debugging prints.
+
 Sun Aug 20 21:02:48 2000  Anthony Green  <green@redhat.com>
 
        * java/lang/natSystem.cc (init_properties): Change sourceware
index b5edfbf..639872b 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998, 1999  Free Software Foundation
+/* Copyright (C) 1998, 1999, 2000  Free Software Foundation
 
    This file is part of libgcj.
 
@@ -115,26 +115,22 @@ public abstract class ResourceBundle
            }
 
          // Look for a properties file.
-         {
-           String prop_name = (bundleName.replace('.', '/') + ".properties");
-           System.out.println ("trying '" + prop_name + "' for '" + bundleName);
-           InputStream i = ClassLoader.getSystemResourceAsStream (prop_name);
-           /*
-           InputStream i = 
-               ClassLoader.getSystemResourceAsStream (bundleName.replace ('.', '/') 
-                                                      + ".properties");
-           */
-           if (i != null)
-             {
-               try {
+         InputStream i = 
+           ClassLoader.getSystemResourceAsStream (bundleName.replace ('.', '/') 
+                                                  + ".properties");
+         if (i != null)
+           {
+             try
+               {
                  return new PropertyResourceBundle (i);
-               } catch (java.io.IOException e) {
+               }
+             catch (java.io.IOException e)
+               {
                  // The docs don't appear to define what happens in
                  // this case, but it seems like continuing the
                  // search is a reasonable thing to do.
                }
-             }
-         }
+           }
 
          if (bundleName.equals(stopHere))
            return result;