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

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

From-SVN: r76809
This commit is contained in:
Michael Koch 2004-01-28 21:13:11 +00:00 committed by Michael Koch
parent be2c39f82c
commit a54ca8cfca
2 changed files with 5 additions and 14 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -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();