maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From denn...@apache.org
Subject svn commit: r1054806 - in /maven/plugins/trunk/maven-changes-plugin/src/main: java/org/apache/maven/plugin/issues/ java/org/apache/maven/plugin/jira/ java/org/apache/maven/plugin/trac/ resources/
Date Mon, 03 Jan 2011 22:21:32 GMT
Author: dennisl
Date: Mon Jan  3 22:21:31 2011
New Revision: 1054806

URL: http://svn.apache.org/viewvc?rev=1054806&view=rev
Log:
o Refactoring: More renaming, sorting and changing names of resource bundle keys.

Modified:
    maven/plugins/trunk/maven-changes-plugin/src/main/java/org/apache/maven/plugin/issues/IssuesReportGenerator.java
    maven/plugins/trunk/maven-changes-plugin/src/main/java/org/apache/maven/plugin/issues/IssuesReportHelper.java
    maven/plugins/trunk/maven-changes-plugin/src/main/java/org/apache/maven/plugin/jira/JiraMojo.java
    maven/plugins/trunk/maven-changes-plugin/src/main/java/org/apache/maven/plugin/trac/TracMojo.java
    maven/plugins/trunk/maven-changes-plugin/src/main/resources/jira-report.properties
    maven/plugins/trunk/maven-changes-plugin/src/main/resources/jira-report_de.properties
    maven/plugins/trunk/maven-changes-plugin/src/main/resources/jira-report_fr.properties
    maven/plugins/trunk/maven-changes-plugin/src/main/resources/jira-report_sv.properties
    maven/plugins/trunk/maven-changes-plugin/src/main/resources/trac-report.properties
    maven/plugins/trunk/maven-changes-plugin/src/main/resources/trac-report_de.properties
    maven/plugins/trunk/maven-changes-plugin/src/main/resources/trac-report_fr.properties
    maven/plugins/trunk/maven-changes-plugin/src/main/resources/trac-report_sv.properties

Modified: maven/plugins/trunk/maven-changes-plugin/src/main/java/org/apache/maven/plugin/issues/IssuesReportGenerator.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-changes-plugin/src/main/java/org/apache/maven/plugin/issues/IssuesReportGenerator.java?rev=1054806&r1=1054805&r2=1054806&view=diff
==============================================================================
--- maven/plugins/trunk/maven-changes-plugin/src/main/java/org/apache/maven/plugin/issues/IssuesReportGenerator.java
(original)
+++ maven/plugins/trunk/maven-changes-plugin/src/main/java/org/apache/maven/plugin/issues/IssuesReportGenerator.java
Mon Jan  3 22:21:31 2011
@@ -91,11 +91,7 @@ public class IssuesReportGenerator
             switch ( columns[columnIndex] )
             {
                 case IssuesReportHelper.COLUMN_ASSIGNEE:
-                    sinkHeader( sink, bundle.getString( "report.issues.label.by" ) );
-                    break;
-
-                case IssuesReportHelper.COLUMN_CHANGED:
-                    sinkHeader( sink, bundle.getString( "report.issues.label.changed" ) );
+                    sinkHeader( sink, bundle.getString( "report.issues.label.assignee" )
);
                     break;
 
                 case IssuesReportHelper.COLUMN_COMPONENT:
@@ -142,6 +138,10 @@ public class IssuesReportGenerator
                     sinkHeader( sink, bundle.getString( "report.issues.label.type" ) );
                     break;
 
+                case IssuesReportHelper.COLUMN_UPDATED:
+                    sinkHeader( sink, bundle.getString( "report.issues.label.updated" ) );
+                    break;
+
                 case IssuesReportHelper.COLUMN_VERSION:
                     sinkHeader( sink, bundle.getString( "report.issues.label.version" ) );
                     break;
@@ -186,10 +186,6 @@ public class IssuesReportGenerator
                         sinkCell( sink, issue.getAssignee() );
                         break;
 
-                    case IssuesReportHelper.COLUMN_CHANGED:
-                        sinkCell( sink, sdf.format( issue.getUpdated() ) );
-                        break;
-
                     case IssuesReportHelper.COLUMN_COMPONENT:
                         sinkCell( sink, IssuesReportHelper.printValues( issue.getComponents()
) );
                         break;
@@ -242,6 +238,10 @@ public class IssuesReportGenerator
                         sinkCell( sink, issue.getType() );
                         break;
 
+                    case IssuesReportHelper.COLUMN_UPDATED:
+                        sinkCell( sink, sdf.format( issue.getUpdated() ) );
+                        break;
+
                     case IssuesReportHelper.COLUMN_VERSION:
                         sinkCell( sink, issue.getVersion() );
                         break;

Modified: maven/plugins/trunk/maven-changes-plugin/src/main/java/org/apache/maven/plugin/issues/IssuesReportHelper.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-changes-plugin/src/main/java/org/apache/maven/plugin/issues/IssuesReportHelper.java?rev=1054806&r1=1054805&r2=1054806&view=diff
==============================================================================
--- maven/plugins/trunk/maven-changes-plugin/src/main/java/org/apache/maven/plugin/issues/IssuesReportHelper.java
(original)
+++ maven/plugins/trunk/maven-changes-plugin/src/main/java/org/apache/maven/plugin/issues/IssuesReportHelper.java
Mon Jan  3 22:21:31 2011
@@ -32,33 +32,33 @@ import java.util.Map;
  */
 public class IssuesReportHelper
 {
-    public static final int COLUMN_KEY = 0;
+    public static final int COLUMN_ASSIGNEE = 0;
 
-    public static final int COLUMN_SUMMARY = 1;
+    public static final int COLUMN_COMPONENT = 1;
 
-    public static final int COLUMN_STATUS = 2;
+    public static final int COLUMN_CREATED = 2;
 
-    public static final int COLUMN_RESOLUTION = 3;
+    public static final int COLUMN_FIX_VERSION = 3;
 
-    public static final int COLUMN_ASSIGNEE = 4;
+    public static final int COLUMN_ID = 4;
 
-    public static final int COLUMN_REPORTER = 5;
+    public static final int COLUMN_KEY = 5;
 
-    public static final int COLUMN_TYPE = 6;
+    public static final int COLUMN_PRIORITY = 6;
 
-    public static final int COLUMN_PRIORITY = 7;
+    public static final int COLUMN_REPORTER = 7;
 
-    public static final int COLUMN_VERSION = 8;
+    public static final int COLUMN_RESOLUTION = 8;
 
-    public static final int COLUMN_FIX_VERSION = 9;
+    public static final int COLUMN_STATUS = 9;
 
-    public static final int COLUMN_COMPONENT = 10;
+    public static final int COLUMN_SUMMARY = 10;
 
-    public static final int COLUMN_ID = 11;
+    public static final int COLUMN_TYPE = 11;
 
-    public static final int COLUMN_CREATED = 12;
+    public static final int COLUMN_UPDATED = 12;
 
-    public static final int COLUMN_CHANGED = 13;
+    public static final int COLUMN_VERSION = 13;
 
     /**
      * Get a list of id:s for the columns that are to be included in the report.

Modified: maven/plugins/trunk/maven-changes-plugin/src/main/java/org/apache/maven/plugin/jira/JiraMojo.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-changes-plugin/src/main/java/org/apache/maven/plugin/jira/JiraMojo.java?rev=1054806&r1=1054805&r2=1054806&view=diff
==============================================================================
--- maven/plugins/trunk/maven-changes-plugin/src/main/java/org/apache/maven/plugin/jira/JiraMojo.java
(original)
+++ maven/plugins/trunk/maven-changes-plugin/src/main/java/org/apache/maven/plugin/jira/JiraMojo.java
Mon Jan  3 22:21:31 2011
@@ -50,17 +50,17 @@ public class JiraMojo
 
     static
     {
-        JIRA_COLUMNS.put( "Key", new Integer( IssuesReportHelper.COLUMN_KEY ) );
-        JIRA_COLUMNS.put( "Summary", new Integer( IssuesReportHelper.COLUMN_SUMMARY ) );
-        JIRA_COLUMNS.put( "Status", new Integer( IssuesReportHelper.COLUMN_STATUS ) );
-        JIRA_COLUMNS.put( "Resolution", new Integer( IssuesReportHelper.COLUMN_RESOLUTION
) );
         JIRA_COLUMNS.put( "Assignee", new Integer( IssuesReportHelper.COLUMN_ASSIGNEE ) );
+        JIRA_COLUMNS.put( "Component", new Integer( IssuesReportHelper.COLUMN_COMPONENT )
);
+        JIRA_COLUMNS.put( "Fix Version", new Integer( IssuesReportHelper.COLUMN_FIX_VERSION
) );
+        JIRA_COLUMNS.put( "Key", new Integer( IssuesReportHelper.COLUMN_KEY ) );
+        JIRA_COLUMNS.put( "Priority", new Integer( IssuesReportHelper.COLUMN_PRIORITY ) );
         JIRA_COLUMNS.put( "Reporter", new Integer( IssuesReportHelper.COLUMN_REPORTER ) );
+        JIRA_COLUMNS.put( "Resolution", new Integer( IssuesReportHelper.COLUMN_RESOLUTION
) );
+        JIRA_COLUMNS.put( "Status", new Integer( IssuesReportHelper.COLUMN_STATUS ) );
+        JIRA_COLUMNS.put( "Summary", new Integer( IssuesReportHelper.COLUMN_SUMMARY ) );
         JIRA_COLUMNS.put( "Type", new Integer( IssuesReportHelper.COLUMN_TYPE ) );
-        JIRA_COLUMNS.put( "Priority", new Integer( IssuesReportHelper.COLUMN_PRIORITY ) );
         JIRA_COLUMNS.put( "Version", new Integer( IssuesReportHelper.COLUMN_VERSION ) );
-        JIRA_COLUMNS.put( "Fix Version", new Integer( IssuesReportHelper.COLUMN_FIX_VERSION
) );
-        JIRA_COLUMNS.put( "Component", new Integer( IssuesReportHelper.COLUMN_COMPONENT )
);
     }
 
     /**

Modified: maven/plugins/trunk/maven-changes-plugin/src/main/java/org/apache/maven/plugin/trac/TracMojo.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-changes-plugin/src/main/java/org/apache/maven/plugin/trac/TracMojo.java?rev=1054806&r1=1054805&r2=1054806&view=diff
==============================================================================
--- maven/plugins/trunk/maven-changes-plugin/src/main/java/org/apache/maven/plugin/trac/TracMojo.java
(original)
+++ maven/plugins/trunk/maven-changes-plugin/src/main/java/org/apache/maven/plugin/trac/TracMojo.java
Mon Jan  3 22:21:31 2011
@@ -54,18 +54,18 @@ public class TracMojo
 
     static
     {
+        TRAC_COLUMNS.put( "changed", new Integer( IssuesReportHelper.COLUMN_UPDATED ) );
+        TRAC_COLUMNS.put( "component", new Integer( IssuesReportHelper.COLUMN_COMPONENT )
);
+        TRAC_COLUMNS.put( "created", new Integer( IssuesReportHelper.COLUMN_CREATED ) );
         TRAC_COLUMNS.put( "id", new Integer( IssuesReportHelper.COLUMN_ID ) );
-        TRAC_COLUMNS.put( "type", new Integer( IssuesReportHelper.COLUMN_TYPE ) );
-        TRAC_COLUMNS.put( "summary", new Integer( IssuesReportHelper.COLUMN_SUMMARY ) );
-        TRAC_COLUMNS.put( "status", new Integer( IssuesReportHelper.COLUMN_STATUS ) );
-        TRAC_COLUMNS.put( "resolution", new Integer( IssuesReportHelper.COLUMN_RESOLUTION
) );
         TRAC_COLUMNS.put( "milestone", new Integer( IssuesReportHelper.COLUMN_FIX_VERSION
) );
         TRAC_COLUMNS.put( "owner", new Integer( IssuesReportHelper.COLUMN_ASSIGNEE ) );
         TRAC_COLUMNS.put( "priority", new Integer( IssuesReportHelper.COLUMN_PRIORITY ) );
         TRAC_COLUMNS.put( "reporter", new Integer( IssuesReportHelper.COLUMN_REPORTER ) );
-        TRAC_COLUMNS.put( "component", new Integer( IssuesReportHelper.COLUMN_COMPONENT )
);
-        TRAC_COLUMNS.put( "created", new Integer( IssuesReportHelper.COLUMN_CREATED ) );
-        TRAC_COLUMNS.put( "changed", new Integer( IssuesReportHelper.COLUMN_CHANGED ) );
+        TRAC_COLUMNS.put( "resolution", new Integer( IssuesReportHelper.COLUMN_RESOLUTION
) );
+        TRAC_COLUMNS.put( "status", new Integer( IssuesReportHelper.COLUMN_STATUS ) );
+        TRAC_COLUMNS.put( "summary", new Integer( IssuesReportHelper.COLUMN_SUMMARY ) );
+        TRAC_COLUMNS.put( "type", new Integer( IssuesReportHelper.COLUMN_TYPE ) );
     }
 
     /**

Modified: maven/plugins/trunk/maven-changes-plugin/src/main/resources/jira-report.properties
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-changes-plugin/src/main/resources/jira-report.properties?rev=1054806&r1=1054805&r2=1054806&view=diff
==============================================================================
--- maven/plugins/trunk/maven-changes-plugin/src/main/resources/jira-report.properties (original)
+++ maven/plugins/trunk/maven-changes-plugin/src/main/resources/jira-report.properties Mon
Jan  3 22:21:31 2011
@@ -24,7 +24,7 @@ report.issues.label.key=Key
 report.issues.label.summary=Summary
 report.issues.label.status=Status
 report.issues.label.resolution=Resolution
-report.issues.label.by=By
+report.issues.label.assignee=By
 report.issues.label.reporter=Reporter
 report.issues.label.type=Type
 report.issues.label.priority=Priority

Modified: maven/plugins/trunk/maven-changes-plugin/src/main/resources/jira-report_de.properties
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-changes-plugin/src/main/resources/jira-report_de.properties?rev=1054806&r1=1054805&r2=1054806&view=diff
==============================================================================
--- maven/plugins/trunk/maven-changes-plugin/src/main/resources/jira-report_de.properties
(original)
+++ maven/plugins/trunk/maven-changes-plugin/src/main/resources/jira-report_de.properties
Mon Jan  3 22:21:31 2011
@@ -24,7 +24,7 @@ report.issues.label.key=Schlüssel
 report.issues.label.summary=Zusammenfassung
 report.issues.label.status=Status
 report.issues.label.resolution=Lösung
-report.issues.label.by=Durch
+report.issues.label.assignee=Durch
 report.issues.label.reporter=Reporter
 report.issues.label.type=Typ
 report.issues.label.priority=Priorität

Modified: maven/plugins/trunk/maven-changes-plugin/src/main/resources/jira-report_fr.properties
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-changes-plugin/src/main/resources/jira-report_fr.properties?rev=1054806&r1=1054805&r2=1054806&view=diff
==============================================================================
--- maven/plugins/trunk/maven-changes-plugin/src/main/resources/jira-report_fr.properties
(original)
+++ maven/plugins/trunk/maven-changes-plugin/src/main/resources/jira-report_fr.properties
Mon Jan  3 22:21:31 2011
@@ -24,7 +24,7 @@ report.issues.label.key=Clef
 report.issues.label.summary=Description
 report.issues.label.status=Statut
 report.issues.label.resolution=R\u00E9solution
-report.issues.label.by=Par
+report.issues.label.assignee=Par
 report.issues.label.reporter=Rapporteur
 report.issues.label.type=Type
 report.issues.label.priority=Priorit\u00E9

Modified: maven/plugins/trunk/maven-changes-plugin/src/main/resources/jira-report_sv.properties
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-changes-plugin/src/main/resources/jira-report_sv.properties?rev=1054806&r1=1054805&r2=1054806&view=diff
==============================================================================
--- maven/plugins/trunk/maven-changes-plugin/src/main/resources/jira-report_sv.properties
(original)
+++ maven/plugins/trunk/maven-changes-plugin/src/main/resources/jira-report_sv.properties
Mon Jan  3 22:21:31 2011
@@ -24,7 +24,7 @@ report.issues.label.key=Nyckel
 report.issues.label.summary=Summering
 report.issues.label.status=Status
 report.issues.label.resolution=L\u00f6sning
-report.issues.label.by=Av
+report.issues.label.assignee=Av
 report.issues.label.reporter=Rapport\u00f6r
 report.issues.label.type=Typ
 report.issues.label.priority=Prioritet

Modified: maven/plugins/trunk/maven-changes-plugin/src/main/resources/trac-report.properties
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-changes-plugin/src/main/resources/trac-report.properties?rev=1054806&r1=1054805&r2=1054806&view=diff
==============================================================================
--- maven/plugins/trunk/maven-changes-plugin/src/main/resources/trac-report.properties (original)
+++ maven/plugins/trunk/maven-changes-plugin/src/main/resources/trac-report.properties Mon
Jan  3 22:21:31 2011
@@ -27,12 +27,12 @@ report.issues.label.summary=Summary
 report.issues.label.status=Status
 report.issues.label.resolution=Resolution
 report.issues.label.fixVersion=Milestone
-report.issues.label.by=Owner
+report.issues.label.assignee=Owner
 report.issues.label.priority=Priority
 report.issues.label.reporter=Reporter
 report.issues.label.component=Component
 report.issues.label.created=Created
-report.issues.label.changed=Modified
+report.issues.label.updated=Modified
 
 
 

Modified: maven/plugins/trunk/maven-changes-plugin/src/main/resources/trac-report_de.properties
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-changes-plugin/src/main/resources/trac-report_de.properties?rev=1054806&r1=1054805&r2=1054806&view=diff
==============================================================================
--- maven/plugins/trunk/maven-changes-plugin/src/main/resources/trac-report_de.properties
(original)
+++ maven/plugins/trunk/maven-changes-plugin/src/main/resources/trac-report_de.properties
Mon Jan  3 22:21:31 2011
@@ -27,9 +27,9 @@ report.issues.label.summary=Zusammenfass
 report.issues.label.status=Status
 report.issues.label.resolution=L\u00F6sung
 report.issues.label.fixVersion=Meilenstein
-report.issues.label.by=Besitzer
+report.issues.label.assignee=Besitzer
 report.issues.label.priority=Priorit\u00E4t
 report.issues.label.reporter=Reporter
 report.issues.label.component=Komponente
 report.issues.label.created=Erstellt
-report.issues.label.changed=Ge\u00E4ndert
+report.issues.label.updated=Ge\u00E4ndert

Modified: maven/plugins/trunk/maven-changes-plugin/src/main/resources/trac-report_fr.properties
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-changes-plugin/src/main/resources/trac-report_fr.properties?rev=1054806&r1=1054805&r2=1054806&view=diff
==============================================================================
--- maven/plugins/trunk/maven-changes-plugin/src/main/resources/trac-report_fr.properties
(original)
+++ maven/plugins/trunk/maven-changes-plugin/src/main/resources/trac-report_fr.properties
Mon Jan  3 22:21:31 2011
@@ -27,12 +27,12 @@ report.issues.label.summary=Description
 report.issues.label.status=Statut
 report.issues.label.resolution=R\u00E9solution
 report.issues.label.fixVersion=milestone
-report.issues.label.by=Propri\u00E9taire
+report.issues.label.assignee=Propri\u00E9taire
 report.issues.label.priority=Priorit\u00E9
 report.issues.label.reporter=Rapporteur
 report.issues.label.component=Composant
 report.issues.label.created=Cr\u00E9e
-report.issues.label.changed=Modifi\u00E9
+report.issues.label.updated=Modifi\u00E9
 
 
 

Modified: maven/plugins/trunk/maven-changes-plugin/src/main/resources/trac-report_sv.properties
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-changes-plugin/src/main/resources/trac-report_sv.properties?rev=1054806&r1=1054805&r2=1054806&view=diff
==============================================================================
--- maven/plugins/trunk/maven-changes-plugin/src/main/resources/trac-report_sv.properties
(original)
+++ maven/plugins/trunk/maven-changes-plugin/src/main/resources/trac-report_sv.properties
Mon Jan  3 22:21:31 2011
@@ -27,9 +27,9 @@ report.issues.label.summary=Summering
 report.issues.label.status=Status
 report.issues.label.resolution=L\u00f6sning
 report.issues.label.fixVersion=milstolpe
-report.issues.label.by=\u00c4gare
+report.issues.label.assignee=\u00c4gare
 report.issues.label.priority=Prioritet
 report.issues.label.reporter=Rapport\u00f6r
 report.issues.label.component=Komponent
 report.issues.label.created=Skapad
-report.issues.label.changed=Modifierad
+report.issues.label.updated=Modifierad



Mime
View raw message