X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=org.argeo.cms.ui.workbench%2Fsrc%2Forg%2Fargeo%2Fcms%2Fui%2Fworkbench%2Finternal%2Fjcr%2Fparts%2FGenericNodeEditorInput.java;h=43866945c0c7a4c56a1dadda8587b1f304d2f62b;hb=5b444174cd13680f99944026877f6cac2e1faba1;hp=bfb207155382076375ff1f44a9224bb508ad516a;hpb=c149774fa220fe69f430f7b230ac4c442ea6d0fe;p=lgpl%2Fargeo-commons.git diff --git a/org.argeo.cms.ui.workbench/src/org/argeo/cms/ui/workbench/internal/jcr/parts/GenericNodeEditorInput.java b/org.argeo.cms.ui.workbench/src/org/argeo/cms/ui/workbench/internal/jcr/parts/GenericNodeEditorInput.java index bfb207155..43866945c 100644 --- a/org.argeo.cms.ui.workbench/src/org/argeo/cms/ui/workbench/internal/jcr/parts/GenericNodeEditorInput.java +++ b/org.argeo.cms.ui.workbench/src/org/argeo/cms/ui/workbench/internal/jcr/parts/GenericNodeEditorInput.java @@ -28,8 +28,7 @@ public class GenericNodeEditorInput implements IEditorInput { private final Node currentNode; // Caches key properties at creation time to avoid Exception at recovering - // time - // when the session has been closed + // time when the session has been closed private String path; private String uid; private String name; @@ -41,7 +40,7 @@ public class GenericNodeEditorInput implements IEditorInput { uid = currentNode.getIdentifier(); path = currentNode.getPath(); } catch (RepositoryException re) { - throw new EclipseUiException("unexpected error while getting node key values at creation time", re); + throw new EclipseUiException("Cannot cache the key properties for " + currentNode, re); } } @@ -83,7 +82,7 @@ public class GenericNodeEditorInput implements IEditorInput { } /** - * equals method based on UID that is unique within a workspace and path of + * Equals method based on UID that is unique within a workspace and path of * the node, thus 2 shared node that have same UID as defined in the spec * but 2 different paths will open two distinct editors. *