Define API to retrieve parent or null for a given Item (review findings)
@@ -258,7 +258,7 @@ public class SessionImpl implements JackrabbitSession {
if (item instanceof ItemImpl) {
return (ItemImpl) item;
} else {
- throw new RepositoryException("Invalid item implementation '"+item.getClass().getName()+"'. Excpected org.apache.jackrabbit.oak.jcr.session.ItemImpl");
+ throw new RepositoryException("Invalid item implementation '" + item.getClass().getName() + "'. Expected " + ItemImpl.class.getName());
}
}
