You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by fa...@apache.org on 2021/11/18 13:17:24 UTC

svn commit: r1895151 - in /poi/trunk: poi-ooxml/src/main/java/org/apache/poi/poifs/crypt/dsig/ poi-ooxml/src/main/java/org/apache/poi/xdgf/usermodel/ poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/ poi-scratchpad/src/main/java/org/apache/po...

Author: fanningpj
Date: Thu Nov 18 13:17:24 2021
New Revision: 1895151

URL: http://svn.apache.org/viewvc?rev=1895151&view=rev
Log:
some incorrect uses of 

Modified:
    poi/trunk/poi-ooxml/src/main/java/org/apache/poi/poifs/crypt/dsig/SignatureInfo.java
    poi/trunk/poi-ooxml/src/main/java/org/apache/poi/xdgf/usermodel/XDGFShape.java
    poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFShape.java
    poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/PicturesTable.java
    poi/trunk/poi/src/main/java/org/apache/poi/ddf/EscherRecord.java
    poi/trunk/poi/src/main/java/org/apache/poi/poifs/crypt/ChunkedCipherInputStream.java
    poi/trunk/poi/src/main/java/org/apache/poi/poifs/crypt/ChunkedCipherOutputStream.java

Modified: poi/trunk/poi-ooxml/src/main/java/org/apache/poi/poifs/crypt/dsig/SignatureInfo.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-ooxml/src/main/java/org/apache/poi/poifs/crypt/dsig/SignatureInfo.java?rev=1895151&r1=1895150&r2=1895151&view=diff
==============================================================================
--- poi/trunk/poi-ooxml/src/main/java/org/apache/poi/poifs/crypt/dsig/SignatureInfo.java (original)
+++ poi/trunk/poi-ooxml/src/main/java/org/apache/poi/poifs/crypt/dsig/SignatureInfo.java Thu Nov 18 13:17:24 2021
@@ -111,7 +111,7 @@ import org.w3c.dom.events.MutationEvent;
  *
  * <pre>
  * // loading the keystore - pkcs12 is used here, but of course jks &amp; co are also valid
- * // the keystore needs to contain a private key and it's certificate having a
+ * // the keystore needs to contain a private key and its certificate having a
  * // 'digitalSignature' key usage
  * char password[] = "test".toCharArray();
  * File file = new File("test.pfx");

Modified: poi/trunk/poi-ooxml/src/main/java/org/apache/poi/xdgf/usermodel/XDGFShape.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-ooxml/src/main/java/org/apache/poi/xdgf/usermodel/XDGFShape.java?rev=1895151&r1=1895150&r2=1895151&view=diff
==============================================================================
--- poi/trunk/poi-ooxml/src/main/java/org/apache/poi/xdgf/usermodel/XDGFShape.java (original)
+++ poi/trunk/poi-ooxml/src/main/java/org/apache/poi/xdgf/usermodel/XDGFShape.java Thu Nov 18 13:17:24 2021
@@ -931,7 +931,7 @@ public class XDGFShape extends XDGFSheet
     }
 
     /**
-     * The visitor will first visit this shape, then it's children
+     * The visitor will first visit this shape, then its children
      *
      * This is useful because exceptions will be marked with the shapes as it
      * propagates up the shape hierarchy.
@@ -959,7 +959,7 @@ public class XDGFShape extends XDGFSheet
     }
 
     /**
-     * The visitor will first visit this shape, then it's children. No transform
+     * The visitor will first visit this shape, then its children. No transform
      * is calculated for this visit
      *
      * This is useful because exceptions will be marked with the shapes as it

Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFShape.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFShape.java?rev=1895151&r1=1895150&r2=1895151&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFShape.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFShape.java Thu Nov 18 13:17:24 2021
@@ -402,7 +402,7 @@ public abstract class HSLFShape implemen
     }
 
     /**
-     * @return  The shape container and it's children that can represent this
+     * @return  The shape container and its children that can represent this
      *          shape.
      */
     public EscherContainerRecord getSpContainer(){

Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/PicturesTable.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/PicturesTable.java?rev=1895151&r1=1895150&r2=1895151&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/PicturesTable.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/PicturesTable.java Thu Nov 18 13:17:24 2021
@@ -98,7 +98,7 @@ public final class PicturesTable {
         }
 
         if (run.isSpecialCharacter() && !run.isObj() && !run.isOle2() && !run.isData()) {
-            // Image should be in it's own run, or in a run with the end-of-special marker
+            // Image should be in its own run, or in a run with the end-of-special marker
             if ("\u0001".equals(run.text()) || "\u0001\u0015".equals(run.text())) {
                 return isBlockContainsImage(run.getPicOffset());
             }

Modified: poi/trunk/poi/src/main/java/org/apache/poi/ddf/EscherRecord.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi/src/main/java/org/apache/poi/ddf/EscherRecord.java?rev=1895151&r1=1895150&r2=1895151&view=diff
==============================================================================
--- poi/trunk/poi/src/main/java/org/apache/poi/ddf/EscherRecord.java (original)
+++ poi/trunk/poi/src/main/java/org/apache/poi/ddf/EscherRecord.java Thu Nov 18 13:17:24 2021
@@ -73,7 +73,7 @@ public abstract class EscherRecord imple
 
     /**
      * The contract of this method is to deserialize an escher record including
-     * it's children.
+     * its children.
      *
      * @param data      The byte array containing the serialized escher
      *                  records.

Modified: poi/trunk/poi/src/main/java/org/apache/poi/poifs/crypt/ChunkedCipherInputStream.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi/src/main/java/org/apache/poi/poifs/crypt/ChunkedCipherInputStream.java?rev=1895151&r1=1895150&r2=1895151&view=diff
==============================================================================
--- poi/trunk/poi/src/main/java/org/apache/poi/poifs/crypt/ChunkedCipherInputStream.java (original)
+++ poi/trunk/poi/src/main/java/org/apache/poi/poifs/crypt/ChunkedCipherInputStream.java Thu Nov 18 13:17:24 2021
@@ -203,7 +203,7 @@ public abstract class ChunkedCipherInput
 
     /**
      * Helper function for overriding the cipher invocation, i.e. XOR doesn't use a cipher
-     * and uses it's own implementation
+     * and uses its own implementation
      */
     protected int invokeCipher(int totalBytes, boolean doFinal) throws GeneralSecurityException {
         if (doFinal) {

Modified: poi/trunk/poi/src/main/java/org/apache/poi/poifs/crypt/ChunkedCipherOutputStream.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi/src/main/java/org/apache/poi/poifs/crypt/ChunkedCipherOutputStream.java?rev=1895151&r1=1895150&r2=1895151&view=diff
==============================================================================
--- poi/trunk/poi/src/main/java/org/apache/poi/poifs/crypt/ChunkedCipherOutputStream.java (original)
+++ poi/trunk/poi/src/main/java/org/apache/poi/poifs/crypt/ChunkedCipherOutputStream.java Thu Nov 18 13:17:24 2021
@@ -207,7 +207,7 @@ public abstract class ChunkedCipherOutpu
 
     /**
      * Helper function for overriding the cipher invocation, i.e. XOR doesn't use a cipher
-     * and uses it's own implementation
+     * and uses its own implementation
      */
     protected int invokeCipher(int posInChunk, boolean doFinal) throws GeneralSecurityException, IOException {
         byte[] plain = (plainByteFlags.isEmpty()) ? null : chunk.clone();



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org