Skip to content

Bug resolution on String parsing in avatartranslator/AvatarGuard.java

Bastien Sultan requested to merge bastien into master

Workaround for the bug described in issue #340 (closed).

Cause

In avatartranslator/AvatarGuard.java, the method createFromString did not take into consideration the Strings of the form "(" + s1 + ")" + delim + s2 where delim belongs to {"==", "!=", "<=", ">=", "<", ">"}.

Modified files

  • avatartranslator/AvatarGuard.java has thus been patched in order to enable the parsing of these guards.
  • Besides, a new test has been added in ttool/src/test/java/avatartranslator/AvatarGuardTests.java.

Merge request reports

Loading