File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -13,14 +13,14 @@ public void calculation(){
1313 }
1414
1515 public void OperatorSetting (ArithmeticExpressionStack arithmeticExpressionStack ) {
16- ErrorException exception = new ErrorException ();
16+ ErrorException exceptionCheck = new ErrorException ();
1717 String firstString = arithmeticExpressionStack .pop ();
18- int cumulativeResult = exception .NumericalError (firstString );
18+ int cumulativeResult = exceptionCheck .NumericalError (firstString );
1919
2020 for (int i = 0 ; i <(arithmeticExpressionStack .getStackSize ())/2 ;i ++){
2121 String operator = arithmeticExpressionStack .pop ();
2222 String secondString = arithmeticExpressionStack .pop ();
23- int secondNumber = exception .NumericalError (secondString );
23+ int secondNumber = exceptionCheck .NumericalError (secondString );
2424 cumulativeResult = chooseOperatorAndCalculate (cumulativeResult , operator , secondNumber );
2525 }
2626
You can’t perform that action at this time.
0 commit comments