o Added toString() for InputLocation and InputSource to ease debugging

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1041649 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2010-12-02 23:43:47 +00:00
parent a78ef2d826
commit d79293e61e
1 changed files with 30 additions and 1 deletions

View File

@ -3605,6 +3605,21 @@
<fields>
<!-- line, column and source fields are auto-generated by Modello -->
</fields>
<codeSegments>
<codeSegment>
<version>4.0.0</version>
<code>
<![CDATA[
@Override
public String toString()
{
return getLineNumber() + " : " + getColumnNumber() + ", " + getSource();
}
]]>
</code>
</codeSegment>
</codeSegments>
</class>
<class sourceTracker="source" java.clone="shallow">
<name>InputSource</name>
@ -3626,11 +3641,25 @@
<type>String</type>
<description>
<![CDATA[
The path/URL of the POM.
The path/URL of the POM or {@code null} if unknown.
]]>
</description>
</field>
</fields>
<codeSegments>
<codeSegment>
<version>4.0.0</version>
<code>
<![CDATA[
@Override
public String toString()
{
return getModelId() + " " + getLocation();
}
]]>
</code>
</codeSegment>
</codeSegments>
</class>
</classes>
</model>