git-tfs-id: [http://tfs.userrendszerhaz.hu:8080/tfs/DefaultCollection]$/MediaCube...
authorSweidan Omar <TFS\sweidan.omar>
Thu, 6 Jan 2022 11:36:55 +0000 (11:36 +0000)
committerSweidan Omar <TFS\sweidan.omar>
Thu, 6 Jan 2022 11:36:55 +0000 (11:36 +0000)
server/user.jobengine.osgi.server/src/user/jobengine/server/ast/JobTemplate.java

index 831f918e674433abe408d4b570bff3d17da7b5a6..90a63b33cbaa79682f2f57fa6687f7830b8010df 100644 (file)
@@ -6,7 +6,7 @@ import java.util.List;
 import java.util.Map;\r
 \r
 /**\r
- * Gy�k�r oszt�ly.\r
+ * Gyökér osztály.\r
  */\r
 public class JobTemplate extends AST {\r
 \r
@@ -91,7 +91,7 @@ public class JobTemplate extends AST {
                this.useSessionLog = useSessionLog;\r
        }\r
 \r
-       //TODO foreach ellenorzes\r
+       // TODO foreach ellenorzes\r
        public List<String> validate() throws Exception {\r
                Map<String, String> parameters = new HashMap<>();\r
                Map<String, String> variables = new HashMap<>();\r
@@ -110,12 +110,13 @@ public class JobTemplate extends AST {
                if (commandSequence != null) {\r
                        for (Command command : commandSequence.getCommands()) {\r
                                if (command instanceof CallJobStepCommand) {\r
-                                       ParameterSequence inputParameterSequence = ((CallJobStepCommand) command).getInputParameterSequence();\r
+                                       ParameterSequence inputParameterSequence = ((CallJobStepCommand) command)\r
+                                                       .getInputParameterSequence();\r
                                        if (inputParameterSequence != null) {\r
                                                for (Parameter parameter : inputParameterSequence.getParameters()) {\r
                                                        if (!(parameter instanceof InputParameter))\r
-                                                               throw new Exception(((CallJobStepCommand) command).getType() + ": class cast problem with input parameter name "\r
-                                                                               + parameter.toString());\r
+                                                               throw new Exception(((CallJobStepCommand) command).getType()\r
+                                                                               + ": class cast problem with input parameter name " + parameter.toString());\r
 \r
                                                        Expression expression = ((InputParameter) parameter).getExpression();\r
                                                        if (expression instanceof VariableExpression) {\r
@@ -128,12 +129,13 @@ public class JobTemplate extends AST {
                                                        }\r
                                                }\r
                                        }\r
-                                       ParameterSequence outputParameterSequence = ((CallJobStepCommand) command).getOutputParameterSequence();\r
+                                       ParameterSequence outputParameterSequence = ((CallJobStepCommand) command)\r
+                                                       .getOutputParameterSequence();\r
                                        if (outputParameterSequence != null) {\r
                                                for (Parameter parameter : outputParameterSequence.getParameters()) {\r
                                                        if (!(parameter instanceof OutputParameter))\r
-                                                               throw new Exception(((CallJobStepCommand) command).getType() + ": class cast problem with output parameter name "\r
-                                                                               + parameter.toString());\r
+                                                               throw new Exception(((CallJobStepCommand) command).getType()\r
+                                                                               + ": class cast problem with output parameter name " + parameter.toString());\r
                                                        VariableName name = ((OutputParameter) parameter).getVariableName();\r
                                                        if (!inputvariables.contains(name.getName()))\r
                                                                inputvariables.add(name.getName());\r