mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-20 22:55:51 +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:
parent
a5e0c80933
commit
a12a281480
1 changed files with 5 additions and 5 deletions
|
@ -294,7 +294,7 @@ public final class DataElement implements IDataElement
|
||||||
|
|
||||||
_isReference = false;
|
_isReference = false;
|
||||||
_isDescriptor = false;
|
_isDescriptor = false;
|
||||||
_depth = 2;
|
_depth = 1;
|
||||||
|
|
||||||
_referencedObject = null;
|
_referencedObject = null;
|
||||||
_isExpanded = false;
|
_isExpanded = false;
|
||||||
|
@ -303,7 +303,7 @@ public final class DataElement implements IDataElement
|
||||||
String depthStr = getAttribute(DE.A_DEPTH);
|
String depthStr = getAttribute(DE.A_DEPTH);
|
||||||
if (depthStr != null && depthStr.length() > 0)
|
if (depthStr != null && depthStr.length() > 0)
|
||||||
{
|
{
|
||||||
if (!depthStr.equals("2")) //$NON-NLS-1$
|
if (!depthStr.equals("1")) //$NON-NLS-1$
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
@ -807,9 +807,9 @@ public final class DataElement implements IDataElement
|
||||||
public void setBuffer(StringBuffer buffer)
|
public void setBuffer(StringBuffer buffer)
|
||||||
{
|
{
|
||||||
_buffer = buffer;
|
_buffer = buffer;
|
||||||
if (_depth < 2 && buffer.length() > 0)
|
if (_depth < 1 && buffer.length() > 0)
|
||||||
{
|
{
|
||||||
setDepth(2);
|
setDepth(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
_isUpdated = false;
|
_isUpdated = false;
|
||||||
|
@ -1547,7 +1547,7 @@ public final class DataElement implements IDataElement
|
||||||
{
|
{
|
||||||
_isReference = false;
|
_isReference = false;
|
||||||
_isDescriptor = false;
|
_isDescriptor = false;
|
||||||
_depth = 2;
|
_depth = 1;
|
||||||
|
|
||||||
_referencedObject = null;
|
_referencedObject = null;
|
||||||
_isExpanded = false;
|
_isExpanded = false;
|
||||||
|
|
Loading…
Add table
Reference in a new issue