Skip to content

Commit

Permalink
previous version used French "soustraction" for "subtraction". Added …
Browse files Browse the repository at this point in the history
…"subtraction" as an operation but left "soustraction" for backwards compatibility.
  • Loading branch information
[email protected] committed Jan 27, 2010
1 parent 34adb9e commit aea5704
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/org/sensorML/process/BinaryOperation_Process.java
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,12 @@ public void init() throws ProcessException

if (operatorData.getData().getStringValue().equalsIgnoreCase("addition"))
operator = OperatorEnum.ADD;
// meb: seems some French sneaked in here
else if (operatorData.getData().getStringValue().equalsIgnoreCase("soustraction"))
operator = OperatorEnum.MIN;
// meb - 2010-01-27: added subtraction
else if (operatorData.getData().getStringValue().equalsIgnoreCase("subtraction"))
operator = OperatorEnum.MIN;
else if (operatorData.getData().getStringValue().equalsIgnoreCase("multiplication"))
operator = OperatorEnum.MUL;
else if (operatorData.getData().getStringValue().equalsIgnoreCase("division"))
Expand Down

0 comments on commit aea5704

Please sign in to comment.