Is this grammatically correct for the case when there are no goals? Can we get some help from a native English speaker. Should it be
a. This plugin has 0 goal: b. This plugin has 0 goals: [EMAIL PROTECTED] wrote: > Author: vsiveton > Date: Fri Aug 29 15:25:42 2008 > New Revision: 690412 > > URL: http://svn.apache.org/viewvc?rev=690412&view=rev > Log: > o fixed typo > > Modified: > > maven/plugins/trunk/maven-help-plugin/src/main/java/org/apache/maven/plugins/help/DescribeMojo.java > > Modified: > maven/plugins/trunk/maven-help-plugin/src/main/java/org/apache/maven/plugins/help/DescribeMojo.java > URL: > http://svn.apache.org/viewvc/maven/plugins/trunk/maven-help-plugin/src/main/java/org/apache/maven/plugins/help/DescribeMojo.java?rev=690412&r1=690411&r2=690412&view=diff > ============================================================================== > --- > maven/plugins/trunk/maven-help-plugin/src/main/java/org/apache/maven/plugins/help/DescribeMojo.java > (original) > +++ > maven/plugins/trunk/maven-help-plugin/src/main/java/org/apache/maven/plugins/help/DescribeMojo.java > Fri Aug 29 15:25:42 2008 > @@ -530,7 +530,7 @@ > if ( ( detail || medium ) && !minimal ) > { > append( buffer, "This plugin has " + pd.getMojos().size() + " > goal" > - + ( pd.getMojos().size() > 1 ? "" : "s" ) + ":", 0 ); > + + ( pd.getMojos().size() > 1 ? "s" : "" ) + ":", 0 ); > buffer.append( "\n" ); > > List mojos = pd.getMojos(); > > > -- Dennis Lundberg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
