diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2020-08-31 14:37:45 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2020-09-01 09:23:18 +0200 |
commit | c9f5878a24fbf812b513fda5dbd2468763a4a6c3 (patch) | |
tree | c4fa4be3c882f41769af7b63d19459ec262cd48c /filter | |
parent | 5694dc279e5f0f78b1bb669b22070881ab012f1a (diff) |
Fix typo in code
It passed "make check" on Linux
Change-Id: I50aacf38ee9c01812f43622671f6f011a42479a8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101777
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'filter')
-rw-r--r-- | filter/qa/complex/filter/misc/FinalizedMandatoryTest.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/filter/qa/complex/filter/misc/FinalizedMandatoryTest.java b/filter/qa/complex/filter/misc/FinalizedMandatoryTest.java index d9fb68e6e0b8..28a71aaab30b 100644 --- a/filter/qa/complex/filter/misc/FinalizedMandatoryTest.java +++ b/filter/qa/complex/filter/misc/FinalizedMandatoryTest.java @@ -133,8 +133,8 @@ public class FinalizedMandatoryTest oObj = getTestObject(serviceName); System.out.println("ImplName: " + util.utils.getImplName(oObj)); - boolean mandantoryTrue = false; - boolean mandantoryFalse = false; + boolean mandatoryTrue = false; + boolean mandatoryFalse = false; boolean finalizedTrue = false; boolean finalizedFalse = false; @@ -174,8 +174,8 @@ public class FinalizedMandatoryTest boolean isFinalized = ((Boolean) getPropertyValueValue(props, "Finalized")).booleanValue(); // memory if every state is available - mandantoryTrue |= isMandatory; - mandantoryFalse |= !isMandatory; + mandatoryTrue |= isMandatory; + mandatoryFalse |= !isMandatory; finalizedTrue |= isFinalized; finalizedFalse |= !isFinalized; @@ -222,8 +222,8 @@ public class FinalizedMandatoryTest } String preMsg = "Could not find filter with state "; String postMsg = " Please check if such filter is installed!"; - assertTrue(preMsg + "'Mandatory=true'" + postMsg, mandantoryTrue); - assertTrue(preMsg + "'Mandatory=false'" + postMsg, mandantoryFalse); + assertTrue(preMsg + "'Mandatory=true'" + postMsg, mandatoryTrue); + assertTrue(preMsg + "'Mandatory=false'" + postMsg, mandatoryFalse); assertTrue(preMsg + "'Finalized=true'" + postMsg, finalizedTrue); assertTrue(preMsg + "'Finalized=false'" + postMsg, finalizedFalse); } |