added test for alias usage

This commit is contained in:
Timo Westkämper 2010-06-30 18:23:55 +00:00
parent 6c7947ef79
commit 6cb088e3cf

View File

@ -80,6 +80,8 @@ public final class Alias {
PEntity<D> rv = aliasFactory.<PEntity<D>> getCurrentAndReset();
if (rv != null) {
return rv;
}else if (arg instanceof PEntity<?>){
return (PEntity)arg;
} else if (arg instanceof ManagedObject) {
return (PEntity<D>) ((ManagedObject) arg).__mappedPath();
} else {