Author: tfischer Date: Thu Sep 4 20:00:50 2014 New Revision: 1622547 URL: http://svn.apache.org/r1622547 Log: TORQUE-317 ignore trailing spaces in boolean options
Modified: db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/control/ControllerState.java Modified: db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/control/ControllerState.java URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/control/ControllerState.java?rev=1622547&r1=1622546&r2=1622547&view=diff ============================================================================== --- db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/control/ControllerState.java (original) +++ db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/control/ControllerState.java Thu Sep 4 20:00:50 2014 @@ -410,7 +410,7 @@ public class ControllerState { return false; } - return Boolean.parseBoolean(option.toString()); + return Boolean.parseBoolean(option.toString().trim()); } /** --------------------------------------------------------------------- To unsubscribe, e-mail: torque-dev-unsubscr...@db.apache.org For additional commands, e-mail: torque-dev-h...@db.apache.org