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