[Libreoffice-commits] core.git: filter/qa

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Sun May 26 18:10:27 UTC 2019


 filter/qa/complex/filter/misc/FinalizedMandatoryTest.java |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

New commits:
commit 53a6f11b8d81a94189e4f6ee954b6d5c2ad6ffe0
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Sun May 26 16:57:05 2019 +0000
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Sun May 26 20:09:30 2019 +0200

    Fix typos
    
    Change-Id: I965b47c6f29af6bc8b747b497a4d5be56a6ddd16
    Reviewed-on: https://gerrit.libreoffice.org/72992
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
    Tested-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/filter/qa/complex/filter/misc/FinalizedMandatoryTest.java b/filter/qa/complex/filter/misc/FinalizedMandatoryTest.java
index e7100bebf5c9..2334f2c1c83b 100644
--- a/filter/qa/complex/filter/misc/FinalizedMandatoryTest.java
+++ b/filter/qa/complex/filter/misc/FinalizedMandatoryTest.java
@@ -42,7 +42,7 @@ import com.sun.star.util.XFlushable;
  * the services <CODE>com.sun.star.document.FilterFactory</CODE> and
  * <CODE>com.sun.star.document.TypeDetection</CODE>.
  *
- * Each of theses services represent a container of <CODE>PropertyValue[]</CODE>.
+ * Each of these services represent a container of <CODE>PropertyValue[]</CODE>.
  * The <CODE>PropertyValue[]</CODE> contains among others the properties called
  * <CODE>Finalized</CODE> and <CODE>Mandatory</CODE>. If the property
  * <CODE>Finalized</CODE> is set to <CODE>true</CODE>, a filter can be removed
@@ -57,7 +57,7 @@ import com.sun.star.util.XFlushable;
  * will be changed and the service will be flushed. The test checks for expected exceptions:
  * If the property <CODE>Finalized</CODE> equals
  * <CODE>true</CODE> the tests check if an <CODE>Exception</CODE> must be thrown.
- * The next step of the test is the removal of the filter was removed, than the service
+ * The next step of the test is the removal of the filter was removed, then the service
  * will be flushed. The test checks for expected exceptions: If the property
  * <CODE>Mandatory</CODE> equals <CODE>true</CODE>, an <CODE>Exception</CODE> must
  * be thrown.
@@ -156,7 +156,7 @@ public class FinalizedMandatoryTest
             // We change in a loop the container and try to flush this changes.
             // If we get an expected exception this container is corrupt. It's
             // similar to a document which could not be saved because of invalid
-            // contend. While you don't remove the invalid conted you will never
+            // content. While you don't remove the invalid content you will never
             // be able to save the document. Same here.
             oObj = getTestObject(serviceName);
 
@@ -187,7 +187,7 @@ public class FinalizedMandatoryTest
             xNR.replaceByName(filterName, instance);
 
             // 1b.) try to write the changed filter to the configuration.
-            // This must result in a exception if the filter is finalized.
+            // This must result in an exception if the filter is finalized.
             boolean flushError = false;
             try
             {
@@ -206,7 +206,7 @@ public class FinalizedMandatoryTest
             // 2a.) try to remove the filter from the container
             xNC.removeByName(filterName);
             // 1b.) try to write the changed filter to the configuration.
-            // This must result in a exception if the filter is mandatory
+            // This must result in an exception if the filter is mandatory
             flushError = false;
             try
             {
@@ -250,7 +250,7 @@ public class FinalizedMandatoryTest
 
     /**
      * returns the value of the specified (<CODE>pName</CODE>) property from a sequenze of <CODE>PropertyValue</CODE>
-     * @param props a sequenze of <CODE>PropertyVlaue</CODE>
+     * @param props a sequence of <CODE>PropertyValue</CODE>
      * @param pName the name of the property the value should be returned
      * @return the value of the property
      */


More information about the Libreoffice-commits mailing list