You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mk...@apache.org on 2008/04/23 11:29:01 UTC
svn commit: r650807 -
/maven/components/trunk/maven-model/src/main/mdo/maven.mdo
Author: mkleint
Date: Wed Apr 23 02:28:58 2008
New Revision: 650807
URL: http://svn.apache.org/viewvc?rev=650807&view=rev
Log:
report plugin map flushing shall be synchronized to prevent NPEs in multithreaded envs.
Modified:
maven/components/trunk/maven-model/src/main/mdo/maven.mdo
Modified: maven/components/trunk/maven-model/src/main/mdo/maven.mdo
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-model/src/main/mdo/maven.mdo?rev=650807&r1=650806&r2=650807&view=diff
==============================================================================
--- maven/components/trunk/maven-model/src/main/mdo/maven.mdo (original)
+++ maven/components/trunk/maven-model/src/main/mdo/maven.mdo Wed Apr 23 02:28:58 2008
@@ -3208,7 +3208,7 @@
/**
* Reset the <code>reportPluginMap</code> field to <code>null</code>
*/
- public void flushReportPluginMap()
+ public synchronized void flushReportPluginMap()
{
this.reportPluginMap = null;
}
@@ -3217,7 +3217,7 @@
* @return a Map of plugins field with <code>ReportPlugin#getKey()</code> as key
* @see org.apache.maven.model.ReportPlugin#getKey()
*/
- public java.util.Map getReportPluginsAsMap()
+ public synchronized java.util.Map getReportPluginsAsMap()
{
if ( reportPluginMap == null )
{