maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From denn...@apache.org
Subject svn commit: r620142 - /maven/plugins/trunk/maven-changes-plugin/src/main/java/org/apache/maven/plugin/jira/AbstractJiraDownloader.java
Date Sat, 09 Feb 2008 15:33:58 GMT
Author: dennisl
Date: Sat Feb  9 07:33:58 2008
New Revision: 620142

URL: http://svn.apache.org/viewvc?rev=620142&view=rev
Log:
o Fix errors reported by Checkstyle.

Modified:
    maven/plugins/trunk/maven-changes-plugin/src/main/java/org/apache/maven/plugin/jira/AbstractJiraDownloader.java

Modified: maven/plugins/trunk/maven-changes-plugin/src/main/java/org/apache/maven/plugin/jira/AbstractJiraDownloader.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-changes-plugin/src/main/java/org/apache/maven/plugin/jira/AbstractJiraDownloader.java?rev=620142&r1=620141&r2=620142&view=diff
==============================================================================
--- maven/plugins/trunk/maven-changes-plugin/src/main/java/org/apache/maven/plugin/jira/AbstractJiraDownloader.java
(original)
+++ maven/plugins/trunk/maven-changes-plugin/src/main/java/org/apache/maven/plugin/jira/AbstractJiraDownloader.java
Sat Feb  9 07:33:58 2008
@@ -219,58 +219,58 @@
                 if ( lowerColumnName.endsWith( "desc" ) )
                 {
                     descending = true;
-                    lowerColumnName = lowerColumnName.substring(0, lowerColumnName.length()
- 4).trim();
+                    lowerColumnName = lowerColumnName.substring( 0, lowerColumnName.length()
- 4 ).trim();
                 }
 
                 if ( "key".equals( lowerColumnName ) )
                 {
                     fieldName = "issuekey";
                 }
-                else if ("summary".equals( lowerColumnName ) )
+                else if ( "summary".equals( lowerColumnName ) )
                 {
                     fieldName = lowerColumnName;
                 }
-                else if ("status".equals( lowerColumnName ) )
+                else if ( "status".equals( lowerColumnName ) )
                 {
                     fieldName = lowerColumnName;
                 }
-                else if ("resolution".equals( lowerColumnName ) )
+                else if ( "resolution".equals( lowerColumnName ) )
                 {
                     fieldName = lowerColumnName;
                 }
-                else if ("assignee".equals( lowerColumnName ) )
+                else if ( "assignee".equals( lowerColumnName ) )
                 {
                     fieldName = lowerColumnName;
                 }
-                else if ("reporter".equals( lowerColumnName ) )
+                else if ( "reporter".equals( lowerColumnName ) )
                 {
                     fieldName = lowerColumnName;
                 }
-                else if ("type".equals( lowerColumnName ) )
+                else if ( "type".equals( lowerColumnName ) )
                 {
                     fieldName = "issuetype";
                 }
-                else if ("priority".equals( lowerColumnName ) )
+                else if ( "priority".equals( lowerColumnName ) )
                 {
                     fieldName = lowerColumnName;
                 }
-                else if ("version".equals( lowerColumnName ) )
+                else if ( "version".equals( lowerColumnName ) )
                 {
                     fieldName = "versions";
                 }
-                else if ("fix version".equals( lowerColumnName ) )
+                else if ( "fix version".equals( lowerColumnName ) )
                 {
                     fieldName = "fixVersions";
                 }
-                else if ("component".equals( lowerColumnName ) )
+                else if ( "component".equals( lowerColumnName ) )
                 {
                     fieldName = "components";
                 }
-                else if ("created".equals( lowerColumnName ) )
+                else if ( "created".equals( lowerColumnName ) )
                 {
                     fieldName = lowerColumnName;
                 }
-                else if ("updated".equals( lowerColumnName ) )
+                else if ( "updated".equals( lowerColumnName ) )
                 {
                     fieldName = lowerColumnName;
                 }
@@ -282,7 +282,8 @@
                     localFilter.append( descending ? "DESC" : "ASC" );
                     validSortColumnNames++;
                 }
-                else {
+                else
+                {
                     // Error in the configuration
                     getLog().error(
                         "maven-changes-plugin: The configured value '" + lowerColumnName



Mime
View raw message