maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From denn...@apache.org
Subject svn commit: r422325 - in /maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven: announcement/ changes/ jira/ resource/loader/
Date Sun, 16 Jul 2006 01:02:02 GMT
Author: dennisl
Date: Sat Jul 15 18:02:02 2006
New Revision: 422325

URL: http://svn.apache.org/viewvc?rev=422325&view=rev
Log:
Make sure that all source files have Javadocs for the class and the correct license

Modified:
    maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/announcement/JiraAnnouncement.java
    maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/announcement/JiraAnnouncementDownloader.java
    maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/announcement/JiraAnnouncementParser.java
    maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/changes/Action.java
    maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/changes/ChangesReportGenerator.java
    maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/changes/ChangesXML.java
    maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/changes/Release.java
    maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/jira/JiraDownloader2.java
    maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/jira/JiraIssue.java
    maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/jira/JiraReportGenerator.java
    maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/jira/JiraXML.java
    maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/resource/loader/ProjectResourceLoader.java

Modified: maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/announcement/JiraAnnouncement.java
URL: http://svn.apache.org/viewvc/maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/announcement/JiraAnnouncement.java?rev=422325&r1=422324&r2=422325&view=diff
==============================================================================
--- maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/announcement/JiraAnnouncement.java
(original)
+++ maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/announcement/JiraAnnouncement.java
Sat Jul 15 18:02:02 2006
@@ -1,10 +1,31 @@
 package org.apache.maven.announcement;
 
+/*
+ * Copyright 2001-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 import org.apache.maven.jira.JiraIssue;
 
 import java.util.ArrayList;
 import java.util.List;
 
+/**
+ * A JIRA announcement.
+ *  
+ * @version $Id$
+ */
 public class JiraAnnouncement 
         extends JiraIssue
 {

Modified: maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/announcement/JiraAnnouncementDownloader.java
URL: http://svn.apache.org/viewvc/maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/announcement/JiraAnnouncementDownloader.java?rev=422325&r1=422324&r2=422325&view=diff
==============================================================================
--- maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/announcement/JiraAnnouncementDownloader.java
(original)
+++ maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/announcement/JiraAnnouncementDownloader.java
Sat Jul 15 18:02:02 2006
@@ -1,21 +1,21 @@
 package org.apache.maven.announcement;
 
-/* ====================================================================
- *   Copyright 2001-2004 The Apache Software Foundation.
+/*
+ * Copyright 2001-2006 The Apache Software Foundation.
  *
- *   Licensed under the Apache License, Version 2.0 (the "License");
- *   you may not use this file except in compliance with the License.
- *   You may obtain a copy of the License at
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
  *
- *       http://www.apache.org/licenses/LICENSE-2.0
+ *      http://www.apache.org/licenses/LICENSE-2.0
  *
- *   Unless required by applicable law or agreed to in writing, software
- *   distributed under the License is distributed on an "AS IS" BASIS,
- *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *   See the License for the specific language governing permissions and
- *   limitations under the License.
- * ====================================================================
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
  */
+
 import org.apache.commons.httpclient.Credentials;
 import org.apache.commons.httpclient.Header;
 import org.apache.commons.httpclient.HostConfiguration;
@@ -42,10 +42,11 @@
 /**
  * Gets relevant issues in RSS from a given JIRA installation.
  *
- * Based on version 1.1.2 and patch by Dr. Spock (MPJIRA-8)
+ * Based on version 1.1.2 and patch by Dr. Spock (MPJIRA-8).
  *
  * @author mfranken@xebia.com
  * @author jruiz@exist.com
+ * @version $Id$
  */
 public final class JiraAnnouncementDownloader
 {
@@ -212,23 +213,23 @@
         try
         {
             HttpClient cl = new HttpClient();
-            
+
             HttpState state = new HttpState();
-            
+
             HostConfiguration hc = new HostConfiguration();
-            
+
             cl.setHostConfiguration( hc );
-            
+
             cl.setState( state );
 
             determineProxy( cl );
-            
+
             Map urlMap = getJiraUrlAndIssueId();
-            
+
             String jiraUrl = (String) urlMap.get("url");
-            
+
             String jiraId = (String) urlMap.get("id");
-            
+
             doAuthentication( cl, jiraUrl );
 
             if ( jiraId == null || jiraId.length() == 0 )
@@ -238,14 +239,14 @@
 
             // create the URL for getting the proper issues from JIRA
             String fullURL = jiraUrl + "/secure/IssueNavigator.jspa?view=rss&pid=" +
jiraId;
-            
+
             // @todo: only for a temporary use case, hardcoded fix-for version
             fullURL += "&fixfor=12730";
-            
+
             fullURL += createFilter();
-            
+
             fullURL += ( "&tempMax=" + nbEntriesMax + "&reset=true&decorator=none"
);
-            
+
             // execute the GET
             download( cl, fullURL );
         }
@@ -254,13 +255,13 @@
             getLog().error( "Error accessing " + project.getIssueManagement().getUrl(), e
);
         }
     }
-    
+
     private Map getJiraUrlAndIssueId()
     {
         HashMap urlMap = new HashMap();
-        
+
         String url = project.getIssueManagement().getUrl();
-        
+
         // chop off the parameter part
         int pos = url.indexOf( "?" );
 
@@ -280,11 +281,11 @@
             jiraUrl = jiraUrl.substring( 0, jiraUrl.lastIndexOf( "/" ) );
         }
         getLog().info( "Jira lives at: " + jiraUrl );
-        
+
         urlMap.put("url", jiraUrl);
-        
+
         urlMap.put("id", id);
-        
+
         return urlMap;
     }
 
@@ -302,9 +303,9 @@
             client.getState().setAuthenticationPreemptive( true );
 
             Credentials defaultcreds = new UsernamePasswordCredentials( webUser, webPassword
);
-            
+
             getLog().info( "Using username: " + webUser + " for Basic Authentication against
the webserver at " + jiraUrl );
-            
+
             client.getState().setCredentials( null, null, defaultcreds );
         }
 
@@ -314,15 +315,15 @@
         if ( ( jiraUser != null ) && ( jiraUser.length() > 0 ) && ( jiraPassword
!= null ) )
         {
             StringBuffer loginLink = new StringBuffer( jiraUrl );
-            
+
             loginLink.append( "/login.jsp?os_destination=/secure/" );
-            
+
             loginLink.append( "&os_username=" ).append( jiraUser );
-            
+
             getLog().info( "Login URL: " + loginLink + "&os_password=*******" );
-            
+
             loginLink.append( "&os_password=" ).append( jiraPassword );
-            
+
             loginUrl = loginLink.toString();
         }
 
@@ -334,7 +335,7 @@
             try
             {
                 client.executeMethod( loginGet );
-                
+
                 getLog().info( "Succesfully logged in into JIRA." );
             }
             catch ( Exception e )
@@ -361,13 +362,13 @@
     {
         // see whether there is any proxy defined in maven
         Proxy proxy = null;
-        
+
         String proxyHost = null;
-        
+
         int proxyPort = 0;
-        
+
         String proxyUser = null;
-        
+
         String proxyPass = null;
 
         if ( project == null )
@@ -385,26 +386,26 @@
         if ( proxy != null )
         {
             proxyHost = settings.getActiveProxy().getHost();
-            
+
             proxyPort = settings.getActiveProxy().getPort();
-            
+
             proxyUser = settings.getActiveProxy().getUsername();
-            
+
             proxyPass = settings.getActiveProxy().getPassword();
-            
+
             getLog().info(proxyPass);
         }
 
         if ( proxyHost != null )
         {
             client.getHostConfiguration().setProxy( proxyHost, proxyPort );
-            
+
             getLog().info( "Using proxy: " + proxyHost + " at port " + proxyPort );
 
             if ( proxyUser != null )
             {
                 getLog().info( "Using proxy user: " + proxyUser );
-                
+
                 client.getState().setProxyCredentials( null, null,
                                                        new UsernamePasswordCredentials( proxyUser,
proxyPass ) );
             }
@@ -423,24 +424,24 @@
         try
         {
             GetMethod gm = new GetMethod( link );
-            
+
             getLog().info( "Downloading " + link );
-            
+
             gm.setFollowRedirects( true );
-            
+
             cl.executeMethod( gm );
 
             final String strGetResponseBody = gm.getResponseBodyAsString();
-            
+
             // write the reponse to file
             PrintWriter pw = new PrintWriter( new FileWriter( getOutput() ) );
-            
+
             pw.print( strGetResponseBody );
-            
+
             pw.close();
 
             StatusLine sl = gm.getStatusLine();
-            
+
             if ( sl == null )
             {
                 getLog().info( "Unknown error validating link : " + link );
@@ -460,9 +461,9 @@
                 else
                 {
                     String newLink = locationHeader.getValue();
-                    
+
                     getLog().debug( "Following redirect to " + newLink );
-                    
+
                     download( cl, newLink );
                 }
             }
@@ -481,7 +482,7 @@
             else
             {
                 getLog().error( "Error downloading issues from JIRA url :  " + e.getLocalizedMessage()
);
-                   
+
             }
         }
         catch ( IOException e )
@@ -506,7 +507,7 @@
     {
         this.output = thisOutput;
     }
-    
+
     public File getOutput()
     {
         return this.output;
@@ -631,7 +632,7 @@
     {
         return log;
     }
-    
+
     public void setSettings(Settings settings)
     {
         this.settings = settings;

Modified: maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/announcement/JiraAnnouncementParser.java
URL: http://svn.apache.org/viewvc/maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/announcement/JiraAnnouncementParser.java?rev=422325&r1=422324&r2=422325&view=diff
==============================================================================
--- maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/announcement/JiraAnnouncementParser.java
(original)
+++ maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/announcement/JiraAnnouncementParser.java
Sat Jul 15 18:02:02 2006
@@ -1,5 +1,21 @@
 package org.apache.maven.announcement;
 
+/*
+ * Copyright 2001-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 import org.apache.maven.changes.Action;
 import org.apache.maven.changes.Release;
 import org.xml.sax.Attributes;
@@ -13,11 +29,12 @@
 import java.util.List;
 
 /**
- * XML Parser for Jira Announcement
+ * XML Parser for <code>JiraAnnouncement</code>s.
  *
  * @author aramirez@exist.com
+ * @version $Id$
  */
-public class JiraAnnouncementParser 
+public class JiraAnnouncementParser
         extends DefaultHandler
 {
     private String elementValue;

Modified: maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/changes/Action.java
URL: http://svn.apache.org/viewvc/maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/changes/Action.java?rev=422325&r1=422324&r2=422325&view=diff
==============================================================================
--- maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/changes/Action.java
(original)
+++ maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/changes/Action.java
Sat Jul 15 18:02:02 2006
@@ -1,7 +1,7 @@
 package org.apache.maven.changes;
 
 /*
- * Copyright 2001-2005 The Codehaus.
+ * Copyright 2001-2006 The Apache Software Foundation.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -14,6 +14,12 @@
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
+ */
+
+/**
+ * An action in a changes.xml file.
+ *
+ * @version $Id$
  */
 public class Action
 {

Modified: maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/changes/ChangesReportGenerator.java
URL: http://svn.apache.org/viewvc/maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/changes/ChangesReportGenerator.java?rev=422325&r1=422324&r2=422325&view=diff
==============================================================================
--- maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/changes/ChangesReportGenerator.java
(original)
+++ maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/changes/ChangesReportGenerator.java
Sat Jul 15 18:02:02 2006
@@ -23,6 +23,11 @@
 import org.apache.maven.plugin.logging.Log;
 import org.apache.maven.reporting.MavenReportException;
 
+/**
+ * Generates a changes report.
+ *
+ * @version $Id$
+ */
 public class ChangesReportGenerator
 {
     private ChangesXML report;

Modified: maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/changes/ChangesXML.java
URL: http://svn.apache.org/viewvc/maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/changes/ChangesXML.java?rev=422325&r1=422324&r2=422325&view=diff
==============================================================================
--- maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/changes/ChangesXML.java
(original)
+++ maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/changes/ChangesXML.java
Sat Jul 15 18:02:02 2006
@@ -27,6 +27,11 @@
 import javax.xml.parsers.SAXParser;
 import javax.xml.parsers.SAXParserFactory;
 
+/**
+ * XML Parser for changes.xml files.
+ *
+ * @version $Id$
+ */
 public class ChangesXML
     extends DefaultHandler
 {

Modified: maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/changes/Release.java
URL: http://svn.apache.org/viewvc/maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/changes/Release.java?rev=422325&r1=422324&r2=422325&view=diff
==============================================================================
--- maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/changes/Release.java
(original)
+++ maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/changes/Release.java
Sat Jul 15 18:02:02 2006
@@ -1,7 +1,7 @@
 package org.apache.maven.changes;
 
 /*
- * Copyright 2001-2005 The Codehaus.
+ * Copyright 2001-2006 The Apache Software Foundation.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -15,9 +15,15 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
+
 import java.util.List;
 import java.util.ArrayList;
 
+/**
+ * A release in a changes.xml file.
+ *
+ * @version $Id$
+ */
 public class Release
 {
     private List action;

Modified: maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/jira/JiraDownloader2.java
URL: http://svn.apache.org/viewvc/maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/jira/JiraDownloader2.java?rev=422325&r1=422324&r2=422325&view=diff
==============================================================================
--- maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/jira/JiraDownloader2.java
(original)
+++ maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/jira/JiraDownloader2.java
Sat Jul 15 18:02:02 2006
@@ -1,21 +1,21 @@
 package org.apache.maven.jira;
 
-/* ====================================================================
- *   Copyright 2001-2006 The Apache Software Foundation.
+/*
+ * Copyright 2001-2006 The Apache Software Foundation.
  *
- *   Licensed under the Apache License, Version 2.0 (the "License");
- *   you may not use this file except in compliance with the License.
- *   You may obtain a copy of the License at
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
  *
- *       http://www.apache.org/licenses/LICENSE-2.0
+ *      http://www.apache.org/licenses/LICENSE-2.0
  *
- *   Unless required by applicable law or agreed to in writing, software
- *   distributed under the License is distributed on an "AS IS" BASIS,
- *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *   See the License for the specific language governing permissions and
- *   limitations under the License.
- * ====================================================================
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
  */
+
 import java.io.File;
 import java.io.FileWriter;
 import java.io.IOException;
@@ -41,10 +41,11 @@
 /**
  * Gets relevant issues in RSS from a given JIRA installation.
  *
- * Based on version 1.1.2 and patch by Dr. Spock (MPJIRA-8)
+ * Based on version 1.1.2 and patch by Dr. Spock (MPJIRA-8).
  *
  * @author mfranken@xebia.com
  * @author jruiz@exist.com
+ * @version $Id$
  */
 public final class JiraDownloader2
 {
@@ -307,9 +308,9 @@
             client.getState().setAuthenticationPreemptive( true );
 
             Credentials defaultcreds = new UsernamePasswordCredentials( webUser, webPassword
);
-            
+
             getLog().info( "Using username: " + webUser + " for Basic Authentication against
the webserver at " + jiraUrl );
-            
+
             client.getState().setCredentials( null, null, defaultcreds );
         }
 
@@ -319,15 +320,15 @@
         if ( ( jiraUser != null ) && ( jiraUser.length() > 0 ) && ( jiraPassword
!= null ) )
         {
             StringBuffer loginLink = new StringBuffer( jiraUrl );
-            
+
             loginLink.append( "/login.jsp?os_destination=/secure/" );
-            
+
             loginLink.append( "&os_username=" ).append( jiraUser );
-            
+
             getLog().info( "Login URL: " + loginLink + "&os_password=*******" );
-            
+
             loginLink.append( "&os_password=" ).append( jiraPassword );
-            
+
             loginUrl = loginLink.toString();
         }
 
@@ -339,7 +340,7 @@
             try
             {
                 client.executeMethod( loginGet );
-                
+
                 getLog().info( "Succesfully logged in into JIRA." );
             }
             catch ( Exception e )
@@ -366,13 +367,13 @@
     {
         // see whether there is any proxy defined in maven
         Proxy proxy = null;
-        
+
         String proxyHost = null;
-        
+
         int proxyPort = 0;
-        
+
         String proxyUser = null;
-        
+
         String proxyPass = null;
 
         if ( project == null )
@@ -383,33 +384,33 @@
         }
 
         if ( settings != null )
-        {   
+        {
             proxy = settings.getActiveProxy();
         }
 
         if ( proxy != null )
-        {   
+        {
             proxyHost = settings.getActiveProxy().getHost();
-            
+
             proxyPort = settings.getActiveProxy().getPort();
-            
+
             proxyUser = settings.getActiveProxy().getUsername();
-            
+
             proxyPass = settings.getActiveProxy().getPassword();
-            
+
             getLog().info(proxyPass);
         }
 
         if ( proxyHost != null )
         {
             client.getHostConfiguration().setProxy( proxyHost, proxyPort );
-            
+
             getLog().info( "Using proxy: " + proxyHost + " at port " + proxyPort );
 
             if ( proxyUser != null )
             {
                 getLog().info( "Using proxy user: " + proxyUser );
-                
+
                 client.getState().setProxyCredentials( null, null,
                                                        new UsernamePasswordCredentials( proxyUser,
proxyPass ) );
             }
@@ -428,24 +429,24 @@
         try
         {
             GetMethod gm = new GetMethod( link );
-            
+
             getLog().info( "Downloading " + link );
-            
+
             gm.setFollowRedirects( true );
-            
+
             cl.executeMethod( gm );
 
             final String strGetResponseBody = gm.getResponseBodyAsString();
 
             // write the reponse to file
             PrintWriter pw = new PrintWriter( new FileWriter( output ) );
-            
+
             pw.print( strGetResponseBody );
-            
+
             pw.close();
 
             StatusLine sl = gm.getStatusLine();
-            
+
             if ( sl == null )
             {
                 getLog().info( "Unknown error validating link : " + link );
@@ -465,9 +466,9 @@
                 else
                 {
                     String newLink = locationHeader.getValue();
-                    
+
                     getLog().debug( "Following redirect to " + newLink );
-                    
+
                     download( cl, newLink );
                 }
             }
@@ -486,7 +487,7 @@
             else
             {
                 getLog().error( "Error downloading issues from JIRA url :  " + e.getLocalizedMessage()
);
-                   
+
             }
         }
         catch ( IOException e )

Modified: maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/jira/JiraIssue.java
URL: http://svn.apache.org/viewvc/maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/jira/JiraIssue.java?rev=422325&r1=422324&r2=422325&view=diff
==============================================================================
--- maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/jira/JiraIssue.java
(original)
+++ maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/jira/JiraIssue.java
Sat Jul 15 18:02:02 2006
@@ -1,5 +1,26 @@
 package org.apache.maven.jira;
 
+/*
+ * Copyright 2001-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**
+ * A JIRA issue.
+ *
+ * @version $Id$
+ */
 public class JiraIssue
 {
     private String key;

Modified: maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/jira/JiraReportGenerator.java
URL: http://svn.apache.org/viewvc/maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/jira/JiraReportGenerator.java?rev=422325&r1=422324&r2=422325&view=diff
==============================================================================
--- maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/jira/JiraReportGenerator.java
(original)
+++ maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/jira/JiraReportGenerator.java
Sat Jul 15 18:02:02 2006
@@ -21,6 +21,11 @@
 
 import org.apache.maven.doxia.sink.Sink;
 
+/**
+ * Generates a JIRA report.
+ *
+ * @version $Id$
+ */
 public class JiraReportGenerator
 {
     JiraXML jira;

Modified: maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/jira/JiraXML.java
URL: http://svn.apache.org/viewvc/maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/jira/JiraXML.java?rev=422325&r1=422324&r2=422325&view=diff
==============================================================================
--- maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/jira/JiraXML.java
(original)
+++ maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/jira/JiraXML.java
Sat Jul 15 18:02:02 2006
@@ -1,7 +1,7 @@
 package org.apache.maven.jira;
 
 /*
- * Copyright 2001-2005 The Codehaus.
+ * Copyright 2001-2006 The Apache Software Foundation.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -26,6 +26,11 @@
 import javax.xml.parsers.SAXParser;
 import javax.xml.parsers.SAXParserFactory;
 
+/**
+ * XML parser for <code>JiraIssue</code>s.
+ *
+ * @version $Id$
+ */
 public class JiraXML
     extends DefaultHandler
 {

Modified: maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/resource/loader/ProjectResourceLoader.java
URL: http://svn.apache.org/viewvc/maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/resource/loader/ProjectResourceLoader.java?rev=422325&r1=422324&r2=422325&view=diff
==============================================================================
--- maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/resource/loader/ProjectResourceLoader.java
(original)
+++ maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/resource/loader/ProjectResourceLoader.java
Sat Jul 15 18:02:02 2006
@@ -34,8 +34,9 @@
 import org.apache.commons.collections.ExtendedProperties;
 
 /**
- * Resource Loader for external projects
+ * Resource Loader for external projects.
  * 
+ * @version $Id$
  */
 public class ProjectResourceLoader extends ResourceLoader
 {



Mime
View raw message