maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tibordig...@apache.org
Subject [1/3] maven-surefire git commit: [SUREFIRE] refactoring
Date Mon, 19 Sep 2016 20:57:59 GMT
Repository: maven-surefire
Updated Branches:
  refs/heads/master 689291f67 -> 175d1d44b


[SUREFIRE] refactoring


Project: http://git-wip-us.apache.org/repos/asf/maven-surefire/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven-surefire/commit/503d72e2
Tree: http://git-wip-us.apache.org/repos/asf/maven-surefire/tree/503d72e2
Diff: http://git-wip-us.apache.org/repos/asf/maven-surefire/diff/503d72e2

Branch: refs/heads/master
Commit: 503d72e2fd9896ba597349ea6034830fe7cb461c
Parents: 689291f
Author: Tibor17 <tibor17@lycos.com>
Authored: Mon Sep 19 21:59:21 2016 +0200
Committer: Tibor17 <tibor17@lycos.com>
Committed: Mon Sep 19 21:59:21 2016 +0200

----------------------------------------------------------------------
 .../plugin/surefire/runorder/RunEntryStatisticsMap.java   | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/503d72e2/surefire-api/src/main/java/org/apache/maven/plugin/surefire/runorder/RunEntryStatisticsMap.java
----------------------------------------------------------------------
diff --git a/surefire-api/src/main/java/org/apache/maven/plugin/surefire/runorder/RunEntryStatisticsMap.java
b/surefire-api/src/main/java/org/apache/maven/plugin/surefire/runorder/RunEntryStatisticsMap.java
index adc9b6a..47d4e67 100644
--- a/surefire-api/src/main/java/org/apache/maven/plugin/surefire/runorder/RunEntryStatisticsMap.java
+++ b/surefire-api/src/main/java/org/apache/maven/plugin/surefire/runorder/RunEntryStatisticsMap.java
@@ -46,7 +46,7 @@ import static org.apache.maven.plugin.surefire.runorder.RunEntryStatistics.fromS
 /**
  * @author Kristian Rosenvold
  */
-public class RunEntryStatisticsMap
+public final class RunEntryStatisticsMap
 {
     private final Map<String, RunEntryStatistics> runEntryStatistics;
 
@@ -147,7 +147,7 @@ public class RunEntryStatisticsMap
         runEntryStatistics.put( item.getTestName(), item );
     }
 
-    class RunCountComparator
+    static final class RunCountComparator
         implements Comparator<RunEntryStatistics>
     {
         public int compare( RunEntryStatistics o, RunEntryStatistics o1 )
@@ -235,7 +235,7 @@ public class RunEntryStatisticsMap
         return result;
     }
 
-    class PrioritizedTestComparator
+    static final class PrioritizedTestComparator
         implements Comparator<PrioritizedTest>
     {
         public int compare( PrioritizedTest o, PrioritizedTest o1 )
@@ -244,7 +244,7 @@ public class RunEntryStatisticsMap
         }
     }
 
-    class TestRuntimeComparator
+    static final class TestRuntimeComparator
         implements Comparator<Priority>
     {
         public int compare( Priority o, Priority o1 )
@@ -253,7 +253,7 @@ public class RunEntryStatisticsMap
         }
     }
 
-    class LeastFailureComparator
+    static final class LeastFailureComparator
         implements Comparator<Priority>
     {
         public int compare( Priority o, Priority o1 )


Mime
View raw message