Formatting

This commit is contained in:
Lukasz Baldyga committed 2020-12-03 14:19:43 +00:00
1 parent f39a3d3ca2
commit 07b7e86a63
1 file changed
+2 -2
@@ -106,7 +106,7 @@ namespace Advanced_Software_Engineering {
DeclareVariable[] methodParameters = new DeclareVariable[] { };
//if assignments exist, make them
if(commandParameters.Length > 1) {
if (commandParameters.Length > 1) {
List<DeclareVariable> methodParameterList = new List<DeclareVariable>();
for (int index = 1; index < commandParameters.Length; index++) {
methodParameterList.Add(new DeclareVariable(rootValueStorage, commandParameters[index]));
@@ -137,7 +137,7 @@ namespace Advanced_Software_Engineering {
int parameterLength = parameters.Count;
//Check if method
if(drawer.Methods.ContainsKey(command)) {
if (drawer.Methods.ContainsKey(command)) {
MethodChunk methodChunk = drawer.Methods[command];
string[] methodVariableNames = methodChunk.GetVariableNames().ToArray();