== Why is this an issue? include::../description.adoc[] === Noncompliant code example [source,java] ---- public void evaluate(int operator) { // Do some computation... { int a = stack.pop(); int b = stack.pop(); int result = a + b; stack.push(result); } } ---- === Compliant solution [source,java] ---- public void evaluate(int operator) { // Do some computation... evaluateAdd(); } private void evaluateAdd() { int a = stack.pop(); int b = stack.pop(); int result = a + b; stack.push(result); } ---- ifdef::env-github,rspecator-view[] ''' == Implementation Specification (visible only on this page) include::../message.adoc[] ''' == Comments And Links (visible only on this page) include::../comments-and-links.adoc[] endif::env-github,rspecator-view[]