java.util.HashMap



Project Bukkit/Bukkit in file ...rg.bukkit.util.permissions.DefaultPermissions.java (2011-09-02)
@@ -1,6 +1,5 @@
 package org.bukkit.util.permissions;
 
-import java.util.HashMap;
 import java.util.Map;
 import org.bukkit.Bukkit;
 import org.bukkit.permissions.Permission;
@@ -77,6 +76,7 @@ public final class DefaultPermissions {
         Permission parent = registerPermission(ROOT, "Gives the user the ability to use all Craftbukkit utilities and commands");
 
         CommandPermissions.registerPermissions(parent);
+        BroadcastPermissions.registerPermissions(parent);
 
         parent.recalculatePermissibles();
     }
Project NLPchina/ansj_seg in file ...cc308b/src.org.ansj.training.name.ForeignName.java (2012-12-08)
@@ -3,7 +3,6 @@ package org.ansj.training.name;
 import java.io.BufferedReader;
 import java.io.IOException;
 import java.io.Serializable;
-import java.util.HashMap;
 import java.util.HashSet;
 import java.util.List;
 
@@ -43,6 +42,7 @@ public class ForeignName {
 			local[index]++;
 		}
 
+		@Override
 		public String toString() {
 			return local[0] + "\t" + local[1] + "\t" + local[2];
 		}
Project Netflix/RxJava in file ...in.java.rx.internal.operators.OperatorPublish.java (2015-01-28)
@@ -16,7 +16,6 @@
 package rx.internal.operators;
 
 import java.util.ArrayList;
-import java.util.HashMap;
 import java.util.LinkedHashMap;
 import java.util.List;
 import java.util.Map;
@@ -266,6 +265,7 @@ public class OperatorPublish<T> extends ConnectableObservable<T> {
             resetAfterSubscriberUpdate();
         }
 
+        @SuppressWarnings("unchecked")
         private long resetAfterSubscriberUpdate() {
             subscribers = new Subscriber[ss.size()];
             int i = 0;
Project ReactiveX/RxJava in file ...in.java.rx.internal.operators.OperatorPublish.java (2015-01-28)
@@ -16,7 +16,6 @@
 package rx.internal.operators;
 
 import java.util.ArrayList;
-import java.util.HashMap;
 import java.util.LinkedHashMap;
 import java.util.List;
 import java.util.Map;
@@ -266,6 +265,7 @@ public class OperatorPublish<T> extends ConnectableObservable<T> {
             resetAfterSubscriberUpdate();
         }
 
+        @SuppressWarnings("unchecked")
         private long resetAfterSubscriberUpdate() {
             subscribers = new Subscriber[ss.size()];
             int i = 0;
Project SonarSource/sonarqube in file ...ar.api.batch.rule.internal.ActiveRulesBuilder.java (2014-03-14)
@@ -23,12 +23,12 @@ import com.google.common.collect.Maps;
 import org.sonar.api.batch.rule.ActiveRules;
 import org.sonar.api.rule.RuleKey;
 
-import java.util.HashMap;
 import java.util.Map;
 
 /**
  * Builds instances of {@link org.sonar.api.batch.rule.ActiveRules}.
  * <b>For unit testing and internal use only</b>.
+ *
  * @since 4.2
  */
 public class ActiveRulesBuilder {