View | Details | Raw Unified | Return to bug 71460 | Differences between
and this patch

Collapse All | Expand All

(-)CompilationUnit.java (-2 / +3 lines)
Lines 675-682 Link Here
675
 */
675
 */
676
public char[] getMainTypeName(){
676
public char[] getMainTypeName(){
677
	String elementName = getElementName();
677
	String elementName = getElementName();
678
	//remove the .java
678
	//remove the extension
679
	elementName = elementName.substring(0, elementName.length() - 5);
679
	int end = elementName.lastIndexOf('.');
680
	elementName = elementName.substring(0, end);
680
	return elementName.toCharArray();
681
	return elementName.toCharArray();
681
}
682
}
682
/**
683
/**

Return to bug 71460