This commit is contained in:
Timo Westkämper 2009-01-07 14:59:42 +00:00
parent 3eb631ce80
commit 6f83183b56

View File

@ -47,9 +47,7 @@ public class AliasFactory {
public <A> A createAliasForProp(Class<A> cl, Object parent, Expr<?> path){
A proxy = createProxy(cl);
if (!cl.getPackage().getName().equals("java.lang")){
bindings.get().put(proxy, path);
}
bindings.get().put(proxy, path);
return proxy;
}