1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-04 07:35:24 +02:00

minor change (not a compatibility issue) merging a change from IBM RSE to open RSE - depth defaulting to 1 instead of 2

This commit is contained in:
David McKnight 2007-07-09 14:48:38 +00:00
parent a5e0c80933
commit a12a281480

View file

@ -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;