Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
af3
AF3
Commits
be2651a1
Commit
be2651a1
authored
Aug 09, 2012
by
Stefanie Gareis
Browse files
resolving this issue
refs 950
parent
bc79725e
Changes
1
Show whitespace changes
Inline
Side-by-side
org.fortiss.af3.expression/trunk/src/org/fortiss/af3/expression/utils/OperatorStrengthUtils.java
View file @
be2651a1
...
...
@@ -28,7 +28,7 @@ import org.fortiss.af3.project.model.typesystem.ITerm;
* @author hoelzl
* @author $Author$
* @version $Rev$
* @ConQAT.Rating YELLOW Hash:
395EACBFF67DF2EE75C63A1ECC7E77B8
* @ConQAT.Rating YELLOW Hash:
747FA1D593E8FE52BCB90511E60B3A97
*/
public
final
class
OperatorStrengthUtils
{
...
...
@@ -103,7 +103,6 @@ public final class OperatorStrengthUtils {
int
innerStr
=
getOperatorStrength
(
inner
);
// 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
if
(
innerStr
>=
outerStr
)
{
return
'('
+
string
+
')'
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment