java.util.HashMap



API Populatity

437 Client projects

Project: java

Package: java.util

Project Activiti/Activiti in file ...flow.simple.definition.FeedbackStepDefinition.java (2013-10-18)
@@ -13,6 +13,7 @@
 package org.activiti.workflow.simple.definition;
 
 import java.util.ArrayList;
+import java.util.HashMap;
 import java.util.List;
 
 import org.activiti.workflow.simple.converter.step.FeedbackStepDefinitionConverter;
@@ -130,5 +131,7 @@ public class FeedbackStepDefinition extends AbstractNamedStepDefinition {
     setId(stepDefinition.getId());
     setName(stepDefinition.getName());
     setStartsWithPrevious(stepDefinition.isStartsWithPrevious());
+    
+    setParameters(new HashMap<String, Object>(otherDefinition.getParameters()));
   }
 }
Project Activiti/Activiti in file ...rkflow.simple.definition.ScriptStepDefinition.java (2013-10-18)
@@ -12,6 +12,8 @@
  */
 package org.activiti.workflow.simple.definition;
 
+import java.util.HashMap;
+
 import org.activiti.workflow.simple.exception.SimpleWorkflowException;
 import org.codehaus.jackson.annotate.JsonTypeName;
 
@@ -62,5 +64,7 @@ public class ScriptStepDefinition extends AbstractNamedStepDefinition {
     setScript(stepDefinition.getScript());
     setScriptLanguage(stepDefinition.getScriptLanguage());
     setStartsWithPrevious(stepDefinition.isStartsWithPrevious());
+    
+    setParameters(new HashMap<String, Object>(otherDefinition.getParameters()));
   }
 }
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();
     }