maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r1078260 - /maven/plugins/branches/maven-site-plugin-3.x/src/main/java/org/apache/maven/plugins/site/AbstractSiteRenderingMojo.java
Date Sat, 05 Mar 2011 10:34:28 GMT
Author: hboutemy
Date: Sat Mar  5 10:34:27 2011
New Revision: 1078260

URL: http://svn.apache.org/viewvc?rev=1078260&view=rev
Log:
refactoring: reduced visibility from protected to private for attributes only used locally

Modified:
    maven/plugins/branches/maven-site-plugin-3.x/src/main/java/org/apache/maven/plugins/site/AbstractSiteRenderingMojo.java

Modified: maven/plugins/branches/maven-site-plugin-3.x/src/main/java/org/apache/maven/plugins/site/AbstractSiteRenderingMojo.java
URL: http://svn.apache.org/viewvc/maven/plugins/branches/maven-site-plugin-3.x/src/main/java/org/apache/maven/plugins/site/AbstractSiteRenderingMojo.java?rev=1078260&r1=1078259&r2=1078260&view=diff
==============================================================================
--- maven/plugins/branches/maven-site-plugin-3.x/src/main/java/org/apache/maven/plugins/site/AbstractSiteRenderingMojo.java
(original)
+++ maven/plugins/branches/maven-site-plugin-3.x/src/main/java/org/apache/maven/plugins/site/AbstractSiteRenderingMojo.java
Sat Mar  5 10:34:27 2011
@@ -71,7 +71,7 @@ public abstract class AbstractSiteRender
      *
      * @parameter
      */
-    protected Map<String, String> moduleExcludes;
+    private Map<String, String> moduleExcludes;
 
     /**
      * Remote repositories used for the project.
@@ -79,7 +79,7 @@ public abstract class AbstractSiteRender
      * @todo this is used for site descriptor resolution - it should relate to the actual
project but for some reason they are not always filled in
      * @parameter expression="${project.remoteArtifactRepositories}"
      */
-    protected List<ArtifactRepository> repositories;
+    private List<ArtifactRepository> repositories;
 
     /**
      * Directory containing the template page.
@@ -111,7 +111,7 @@ public abstract class AbstractSiteRender
      *
      * @parameter expression="${attributes}"
      */
-    protected Map<Object, Object> attributes;
+    private Map<Object, Object> attributes;
 
     /**
      * Site renderer.
@@ -167,7 +167,7 @@ public abstract class AbstractSiteRender
      * @component
      * @readonly
      */
-    protected MavenReportExecutor mavenReportExecutor;
+    private MavenReportExecutor mavenReportExecutor;
 
     protected List<MavenReportExecution> getReports()
         throws MojoExecutionException



Mime
View raw message