removed unnecessary fields

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@758829 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Oleg Gusakov 2009-03-26 20:11:07 +00:00
parent 64d686236f
commit 5a5185c04a
1 changed files with 5 additions and 26 deletions

View File

@ -38,38 +38,27 @@ public class MetadataTreeNode
/** /**
* this node's artifact MD * this node's artifact MD
*/ */
Artifact metadata; private Artifact metadata;
/**
* fail resolution if it could not be found?
*/
boolean optional = false;
/** /**
* is there a real artifact behind this node, or it's just a helper ? * is there a real artifact behind this node, or it's just a helper ?
*/ */
boolean real = true; private boolean real = true;
/** /**
* parent node * parent node
*/ */
MetadataTreeNode parent; private MetadataTreeNode parent;
/** /**
* node unique id, used to identify this node in external tree manipulations, such as * node unique id, used to identify this node in external tree manipulations, such as
*/ */
int id; private int id;
/**
* query node - the one that originated this actual node
*/
Artifact query;
/** /**
* actual found versions * actual found versions
*/ */
List<MetadataTreeNode> children; private List<MetadataTreeNode> children;
// ------------------------------------------------------------------------ // ------------------------------------------------------------------------
public int countNodes() public int countNodes()
@ -189,11 +178,6 @@ public class MetadataTreeNode
return children; return children;
} }
public boolean isOptional()
{
return optional;
}
public boolean isReal() public boolean isReal()
{ {
return real; return real;
@ -204,11 +188,6 @@ public class MetadataTreeNode
this.real = real; this.real = real;
} }
public Artifact getQuery()
{
return query;
}
// ------------------------------------------------------------------------ // ------------------------------------------------------------------------
public static final MetadataTreeNode deepCopy( MetadataTreeNode node ) public static final MetadataTreeNode deepCopy( MetadataTreeNode node )
{ {