Commit be2651a1 authored by Stefanie Gareis's avatar Stefanie Gareis
Browse files

resolving this issue

refs 950
parent bc79725e
...@@ -28,7 +28,7 @@ import org.fortiss.af3.project.model.typesystem.ITerm; ...@@ -28,7 +28,7 @@ import org.fortiss.af3.project.model.typesystem.ITerm;
* @author hoelzl * @author hoelzl
* @author $Author$ * @author $Author$
* @version $Rev$ * @version $Rev$
* @ConQAT.Rating YELLOW Hash: 395EACBFF67DF2EE75C63A1ECC7E77B8 * @ConQAT.Rating YELLOW Hash: 747FA1D593E8FE52BCB90511E60B3A97
*/ */
public final class OperatorStrengthUtils { public final class OperatorStrengthUtils {
...@@ -103,7 +103,6 @@ public final class OperatorStrengthUtils { ...@@ -103,7 +103,6 @@ public final class OperatorStrengthUtils {
int innerStr = getOperatorStrength(inner); int innerStr = getOperatorStrength(inner);
// Due to Issue #950 (i.e. correct rendering of the parsed expression "a - (b + c + d)") // Due to Issue #950 (i.e. correct rendering of the parsed expression "a - (b + c + d)")
// ,
// we must have in the if below a greater-equal // we must have in the if below a greater-equal
if(innerStr >= outerStr) { if(innerStr >= outerStr) {
return '(' + string + ')'; return '(' + string + ')';
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment