* gnu/java/lang/ClassHelper.java
(getPackagePortion): Removed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76809
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
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();