diff options
author | Eike Stepper | 2010-10-25 11:14:54 +0000 |
---|---|---|
committer | Eike Stepper | 2010-10-25 11:14:54 +0000 |
commit | 3bb4ee73dcee5d8ce153e900a20319303115a4ac (patch) | |
tree | c4617c0a7e5f3db6c72edbb1e61a49c49d0f7a5e /plugins/org.eclipse.emf.cdo.workspace.efs/src/org/eclipse/emf/cdo/workspace/internal/efs/CDOResourceNodeStore.java | |
parent | 191409bb69f812f1b8c1d91af487c88aea558bb6 (diff) | |
download | cdo-3bb4ee73dcee5d8ce153e900a20319303115a4ac.tar.gz cdo-3bb4ee73dcee5d8ce153e900a20319303115a4ac.tar.xz cdo-3bb4ee73dcee5d8ce153e900a20319303115a4ac.zip |
[327405] Provide an offline CDOWorkspace with Checkout/Update/Commit workflows
https://bugs.eclipse.org/bugs/show_bug.cgi?id=327405
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.workspace.efs/src/org/eclipse/emf/cdo/workspace/internal/efs/CDOResourceNodeStore.java')
-rw-r--r-- | plugins/org.eclipse.emf.cdo.workspace.efs/src/org/eclipse/emf/cdo/workspace/internal/efs/CDOResourceNodeStore.java | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/plugins/org.eclipse.emf.cdo.workspace.efs/src/org/eclipse/emf/cdo/workspace/internal/efs/CDOResourceNodeStore.java b/plugins/org.eclipse.emf.cdo.workspace.efs/src/org/eclipse/emf/cdo/workspace/internal/efs/CDOResourceNodeStore.java index 320a45b5a3..43cfdfc744 100644 --- a/plugins/org.eclipse.emf.cdo.workspace.efs/src/org/eclipse/emf/cdo/workspace/internal/efs/CDOResourceNodeStore.java +++ b/plugins/org.eclipse.emf.cdo.workspace.efs/src/org/eclipse/emf/cdo/workspace/internal/efs/CDOResourceNodeStore.java @@ -64,14 +64,10 @@ public final class CDOResourceNodeStore extends AbstractResourceNodeStore return name; } + @Override public String getPath() { - if (parent instanceof CDOResourceNodeStore) - { - return ((CDOResourceNodeStore)parent).getPath() + "/" + name; - } - - return name; + return parent.getPath() + "/" + name; } @Override @@ -109,6 +105,7 @@ public final class CDOResourceNodeStore extends AbstractResourceNodeStore public void close() throws IOException { byte[] bytes = toByteArray(); + System.err.println(new String(bytes)); InputStream in = new ByteArrayInputStream(bytes); XMIResource xmiResource = new XMIResourceImpl(); |