package cal;

public class OperatorFactory {
	 public static Operator typeOfOperator(char op) {
			// TODO what happen if null
			Operator result = null;

			switch (op) {
			case '+':
			    result = new Addition();
			    break;
			case '-':
			    result = new Subtraction();
			    break;
			case '*':
			    result = new Multiplication();
			    break;
			case '/':
			    result = new Division();
			    break;
			case '^':
			    result = new Exponentiation();
			}
			return result;
		    }
}

@@ -461,16 +461,30 @@
 tion();%0A
+%09%09%09    break;%0A
 %09%09%09%7D%0A%09%09%09

fix minor issue