aurora-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kevi...@apache.org
Subject git commit: Fix PMD violation
Date Fri, 12 Sep 2014 23:55:28 GMT
Repository: incubator-aurora
Updated Branches:
  refs/heads/master 32a95ac97 -> 091bd6dec


Fix PMD violation


Project: http://git-wip-us.apache.org/repos/asf/incubator-aurora/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-aurora/commit/091bd6de
Tree: http://git-wip-us.apache.org/repos/asf/incubator-aurora/tree/091bd6de
Diff: http://git-wip-us.apache.org/repos/asf/incubator-aurora/diff/091bd6de

Branch: refs/heads/master
Commit: 091bd6decbb9d75962a55a4e5cff82ce58a2a064
Parents: 32a95ac
Author: Kevin Sweeney <kevints@apache.org>
Authored: Fri Sep 12 16:55:14 2014 -0700
Committer: Kevin Sweeney <kevints@apache.org>
Committed: Fri Sep 12 16:55:14 2014 -0700

----------------------------------------------------------------------
 .../java/org/apache/aurora/scheduler/http/JettyServerModule.java  | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/091bd6de/src/main/java/org/apache/aurora/scheduler/http/JettyServerModule.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/aurora/scheduler/http/JettyServerModule.java b/src/main/java/org/apache/aurora/scheduler/http/JettyServerModule.java
index f34180c..0336a6e 100644
--- a/src/main/java/org/apache/aurora/scheduler/http/JettyServerModule.java
+++ b/src/main/java/org/apache/aurora/scheduler/http/JettyServerModule.java
@@ -16,7 +16,6 @@ package org.apache.aurora.scheduler.http;
 import java.util.EnumSet;
 import java.util.List;
 import java.util.Map;
-import java.util.Objects;
 import java.util.Set;
 import java.util.logging.Level;
 import java.util.logging.Logger;
@@ -296,7 +295,7 @@ public class JettyServerModule extends AbstractModule {
 
     @Inject
     RedirectMonitor(LeaderRedirect redirector) {
-      this.redirector = Objects.requireNonNull(redirector);
+      this.redirector = requireNonNull(redirector);
     }
 
     @Override


Mime
View raw message