maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From krosenv...@apache.org
Subject svn commit: r902085 - /maven/maven-3/trunk/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringSearchModelInterpolator.java
Date Fri, 22 Jan 2010 13:46:50 GMT
Author: krosenvold
Date: Fri Jan 22 13:46:49 2010
New Revision: 902085

URL: http://svn.apache.org/viewvc?rev=902085&view=rev
Log:
[MNG-4542] StringSearchModelInterpolator concurrency problem

Shameful removal of printStackTrace in catch block

Modified:
    maven/maven-3/trunk/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringSearchModelInterpolator.java

Modified: maven/maven-3/trunk/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringSearchModelInterpolator.java
URL: http://svn.apache.org/viewvc/maven/maven-3/trunk/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringSearchModelInterpolator.java?rev=902085&r1=902084&r2=902085&view=diff
==============================================================================
--- maven/maven-3/trunk/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringSearchModelInterpolator.java
(original)
+++ maven/maven-3/trunk/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringSearchModelInterpolator.java
Fri Jan 22 13:46:49 2010
@@ -284,14 +284,11 @@
                             }
                             catch ( IllegalArgumentException e )
                             {
-                                e.printStackTrace(System.err);
-
                                 problems.add( Severity.ERROR, "Failed to interpolate field3:
" + currentField +
                                     " on class: " + cls.getName(), e );
                             }
                             catch ( IllegalAccessException e )
                             {
-                                e.printStackTrace(System.err);
                                 problems.add( Severity.ERROR, "Failed to interpolate field4:
" + currentField +
                                     " on class: " + cls.getName(), e );
                             }



Mime
View raw message