mirror of https://github.com/apache/maven.git
o Added generics
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@777242 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b2a3374ac6
commit
40f654d529
|
@ -33,11 +33,11 @@ public class ModelValidationResult
|
|||
private final static String NEWLINE = System.getProperty( "line.separator" );
|
||||
|
||||
/** */
|
||||
private List messages;
|
||||
private List<String> messages;
|
||||
|
||||
public ModelValidationResult()
|
||||
{
|
||||
messages = new ArrayList();
|
||||
messages = new ArrayList<String>();
|
||||
}
|
||||
|
||||
public int getMessageCount()
|
||||
|
@ -50,7 +50,7 @@ public class ModelValidationResult
|
|||
return messages.get( i ).toString();
|
||||
}
|
||||
|
||||
public List getMessages()
|
||||
public List<String> getMessages()
|
||||
{
|
||||
return Collections.unmodifiableList( messages );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue