Commit a54ca8cf by Michael Koch Committed by Michael Koch

2004-01-28 Michael Koch <konqueror@gmx.de>

	* gnu/java/lang/ClassHelper.java
	(getPackagePortion): Removed.

From-SVN: r76809
parent be2c39f8
2004-01-28 Michael Koch <konqueror@gmx.de> 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 * javax/swing/JComponent.java
(listenerList): Initalize globally. (listenerList): Initalize globally.
(ancestor_list): Removed. (ancestor_list): Removed.
......
...@@ -75,20 +75,6 @@ public class ClassHelper ...@@ -75,20 +75,6 @@ public class ClassHelper
return name.substring(lastInd + 1); 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(). */ /** Cache of methods found in getAllMethods(). */
private static Map allMethods = new HashMap(); private static Map allMethods = new HashMap();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment