Author: brianf Date: Tue Mar 18 18:12:53 2008 New Revision: 638671 URL: http://svn.apache.org/viewvc?rev=638671&view=rev Log: MNG-MNG-3469: add Resource.toString() method for debugging. patch from Wayne Fay
Modified: maven/components/branches/maven-2.0.x/maven-model/src/main/mdo/maven.mdo Modified: maven/components/branches/maven-2.0.x/maven-model/src/main/mdo/maven.mdo URL: http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x/maven-model/src/main/mdo/maven.mdo?rev=638671&r1=638670&r2=638671&view=diff ============================================================================== --- maven/components/branches/maven-2.0.x/maven-model/src/main/mdo/maven.mdo (original) +++ maven/components/branches/maven-2.0.x/maven-model/src/main/mdo/maven.mdo Tue Mar 18 18:12:53 2008 @@ -2477,6 +2477,22 @@ <defaultValue>false</defaultValue> </field> </fields> + <codeSegments> + <codeSegment> + <version>4.0.0</version> + <code> + <![CDATA[ + /** + * @see java.lang.Object#toString() + */ + public String toString() + { + return "Resource {targetPath: " + getTargetPath() + ", filtering: " + isFiltering() + ", " + super.toString() + "}"; + } + ]]> + </code> + </codeSegment> + </codeSegments> </class> <class> <name>SourceModification</name>