diff options
author | Michael Koch <konqueror@gmx.de> | 2004-01-28 21:13:11 +0000 |
---|---|---|
committer | Michael Koch <mkoch@gcc.gnu.org> | 2004-01-28 21:13:11 +0000 |
commit | a54ca8cfca7d88a954abcf43435ce3541c7322e9 (patch) | |
tree | 4c17681a67a11e81d80006af30f1fab9d03c96b1 /libjava | |
parent | be2c39f82c65397954ff5f4e83da6b87814dbc48 (diff) | |
download | gcc-a54ca8cfca7d88a954abcf43435ce3541c7322e9.zip gcc-a54ca8cfca7d88a954abcf43435ce3541c7322e9.tar.gz gcc-a54ca8cfca7d88a954abcf43435ce3541c7322e9.tar.bz2 |
2004-01-28 Michael Koch <konqueror@gmx.de>
* gnu/java/lang/ClassHelper.java
(getPackagePortion): Removed.
From-SVN: r76809
Diffstat (limited to 'libjava')
-rw-r--r-- | libjava/ChangeLog | 5 | ||||
-rw-r--r-- | libjava/gnu/java/lang/ClassHelper.java | 14 |
2 files changed, 5 insertions, 14 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 9d68cb8..8b1be41 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,5 +1,10 @@ 2004-01-28 Michael Koch <konqueror@gmx.de> + * gnu/java/lang/ClassHelper.java + (getPackagePortion): Removed. + +2004-01-28 Michael Koch <konqueror@gmx.de> + * javax/swing/JComponent.java (listenerList): Initalize globally. (ancestor_list): Removed. diff --git a/libjava/gnu/java/lang/ClassHelper.java b/libjava/gnu/java/lang/ClassHelper.java index 16d699e..7339d6b 100644 --- a/libjava/gnu/java/lang/ClassHelper.java +++ b/libjava/gnu/java/lang/ClassHelper.java @@ -75,20 +75,6 @@ public class ClassHelper return name.substring(lastInd + 1); } - /** - * Strip the last portion of the name (after the last dot). - * - * @param name the name to get package of - * @return the package name, or "" if no package - */ - public static String getPackagePortion(String name) - { - int lastInd = name.lastIndexOf('.'); - if (lastInd == -1) - return ""; - return name.substring(0, lastInd); - } - /** Cache of methods found in getAllMethods(). */ private static Map allMethods = new HashMap(); |