forked from JavaTX/JavaCompilerCore
JavaClassName hack entfernt
This commit is contained in:
parent
47361ca22c
commit
0dcb36f49e
@ -19,11 +19,6 @@ public class JavaClassName {
|
|||||||
public JavaClassName(String name){
|
public JavaClassName(String name){
|
||||||
if(name == null)throw new NullPointerException();
|
if(name == null)throw new NullPointerException();
|
||||||
|
|
||||||
//TODO bytecode hack, muss unbedingt anders gelöst werden
|
|
||||||
if(name.equals("Object")){
|
|
||||||
name = "java.lang.Object";
|
|
||||||
}
|
|
||||||
|
|
||||||
String[] names = name.split("[.]");
|
String[] names = name.split("[.]");
|
||||||
boolean match = true;
|
boolean match = true;
|
||||||
if(names.length == 1){
|
if(names.length == 1){
|
||||||
|
Loading…
Reference in New Issue
Block a user