maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bentm...@apache.org
Subject svn commit: r777242 - /maven/components/branches/MNG-2766/maven-core/src/main/java/org/apache/maven/project/validation/ModelValidationResult.java
Date Thu, 21 May 2009 20:26:52 GMT
Author: bentmann
Date: Thu May 21 20:26:51 2009
New Revision: 777242

URL: http://svn.apache.org/viewvc?rev=777242&view=rev
Log:
o Added generics

Modified:
    maven/components/branches/MNG-2766/maven-core/src/main/java/org/apache/maven/project/validation/ModelValidationResult.java

Modified: maven/components/branches/MNG-2766/maven-core/src/main/java/org/apache/maven/project/validation/ModelValidationResult.java
URL: http://svn.apache.org/viewvc/maven/components/branches/MNG-2766/maven-core/src/main/java/org/apache/maven/project/validation/ModelValidationResult.java?rev=777242&r1=777241&r2=777242&view=diff
==============================================================================
--- maven/components/branches/MNG-2766/maven-core/src/main/java/org/apache/maven/project/validation/ModelValidationResult.java
(original)
+++ maven/components/branches/MNG-2766/maven-core/src/main/java/org/apache/maven/project/validation/ModelValidationResult.java
Thu May 21 20:26:51 2009
@@ -33,11 +33,11 @@
     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 @@
         return messages.get( i ).toString();
     }
 
-    public List getMessages()
+    public List<String> getMessages()
     {
         return Collections.unmodifiableList( messages );
     }



Mime
View raw message