maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tibordig...@apache.org
Subject maven-surefire git commit: refactoring
Date Sat, 03 Sep 2016 23:52:00 GMT
Repository: maven-surefire
Updated Branches:
  refs/heads/master 076d68f6e -> b9a926d7b


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/b9a926d7
Tree: http://git-wip-us.apache.org/repos/asf/maven-surefire/tree/b9a926d7
Diff: http://git-wip-us.apache.org/repos/asf/maven-surefire/diff/b9a926d7

Branch: refs/heads/master
Commit: b9a926d7b80d455da9003c0e1e122b0208eb8277
Parents: 076d68f
Author: Tibor17 <tibor17@lycos.com>
Authored: Sun Sep 4 01:51:16 2016 +0200
Committer: Tibor17 <tibor17@lycos.com>
Committed: Sun Sep 4 01:51:16 2016 +0200

----------------------------------------------------------------------
 .../maven/plugin/surefire/booterclient/ProviderDetector.java     | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/b9a926d7/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/ProviderDetector.java
----------------------------------------------------------------------
diff --git a/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/ProviderDetector.java
b/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/ProviderDetector.java
index c676d58..7af0103 100644
--- a/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/ProviderDetector.java
+++ b/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/ProviderDetector.java
@@ -63,7 +63,9 @@ public final class ProviderDetector
      * @return The set of service provider names
      * @throws IOException When reading the streams fails
      */
-    @Nonnull private static Set<String> getNames( final Enumeration<URL> urlEnumeration
)
+    @Nonnull
+    @SuppressWarnings( "checkstyle:innerassignment" )
+    private static Set<String> getNames( final Enumeration<URL> urlEnumeration
)
         throws IOException
     {
         final Set<String> names = new HashSet<String>();


Mime
View raw message