From a12a281480843e11112b770820790d831325ae4f Mon Sep 17 00:00:00 2001 From: David McKnight Date: Mon, 9 Jul 2007 14:48:38 +0000 Subject: [PATCH] minor change (not a compatibility issue) merging a change from IBM RSE to open RSE - depth defaulting to 1 instead of 2 --- .../src/org/eclipse/dstore/core/model/DataElement.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/rse/plugins/org.eclipse.dstore.core/src/org/eclipse/dstore/core/model/DataElement.java b/rse/plugins/org.eclipse.dstore.core/src/org/eclipse/dstore/core/model/DataElement.java index 407c0f35c2a..a8539bc765c 100644 --- a/rse/plugins/org.eclipse.dstore.core/src/org/eclipse/dstore/core/model/DataElement.java +++ b/rse/plugins/org.eclipse.dstore.core/src/org/eclipse/dstore/core/model/DataElement.java @@ -294,7 +294,7 @@ public final class DataElement implements IDataElement _isReference = false; _isDescriptor = false; - _depth = 2; + _depth = 1; _referencedObject = null; _isExpanded = false; @@ -303,7 +303,7 @@ public final class DataElement implements IDataElement String depthStr = getAttribute(DE.A_DEPTH); if (depthStr != null && depthStr.length() > 0) { - if (!depthStr.equals("2")) //$NON-NLS-1$ + if (!depthStr.equals("1")) //$NON-NLS-1$ { try { @@ -807,9 +807,9 @@ public final class DataElement implements IDataElement public void setBuffer(StringBuffer buffer) { _buffer = buffer; - if (_depth < 2 && buffer.length() > 0) + if (_depth < 1 && buffer.length() > 0) { - setDepth(2); + setDepth(1); } _isUpdated = false; @@ -1547,7 +1547,7 @@ public final class DataElement implements IDataElement { _isReference = false; _isDescriptor = false; - _depth = 2; + _depth = 1; _referencedObject = null; _isExpanded = false;