| Conditions | 1 |
| Total Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | package yalep.code; |
||
| 14 | public ExpressionToLogicalGatesConverter(String expression) throws WrongExpressionFormatException { |
||
| 15 | LogicalExpressionValidityChecker.expressionIsValid(expression); |
||
| 16 | this.expression = expression.substring(0, expression.indexOf("=")); |
||
| 17 | this.expression = this.expression.replaceAll(" ",""); |
||
| 18 | answer = Integer.parseInt(expression.substring(expression.indexOf("=") + 1)); |
||
| 19 | } |
||
| 21 |