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:
Benjamin Bentmann 2009-05-21 20:26:51 +00:00
parent b2a3374ac6
commit 40f654d529
1 changed files with 3 additions and 3 deletions

View File

@ -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 );
}