jvanzyl 2003/12/03 16:33:48
Modified: maven-model/src/java/org/apache/maven/model Dependency.java
Log:
o return the kind not the type.
Revision Changes Path
1.6 +3 -15
maven-components/maven-model/src/java/org/apache/maven/model/Dependency.java
Index: Dependency.java
===================================================================
RCS file:
/home/cvs/maven-components/maven-model/src/java/org/apache/maven/model/Dependency.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- Dependency.java 2 Dec 2003 04:08:25 -0000 1.5
+++ Dependency.java 4 Dec 2003 00:33:48 -0000 1.6
@@ -264,7 +264,7 @@
* Get the type of the dependency. If no type was set it is
* assumed that is of type <code>jar</code>
*
- * @return dependency type such as <code>jar</code> or <code>war</code>
+ * @return dependency type such as <code>jar</code> sor <code>war</code>
*/
public String getKind()
{
@@ -272,7 +272,7 @@
{
return "global";
}
- return type;
+ return kind;
}
/**
@@ -328,16 +328,4 @@
{
return getGroupId() + ":" + getArtifactId();
}
-
- /**
- * Debug string.
- *
- * @return Debugging string.
- */
- public String toString()
- {
- return "Dep[" + getId() + " ]";
- }
-
-
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]