Bladeren bron

some incorrect uses of

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895151 13f79535-47bb-0310-9956-ffa450edef68
tags/REL_5_2_0
PJ Fanning 2 jaren geleden
bovenliggende
commit
d96869c870

+ 1
- 1
poi-ooxml/src/main/java/org/apache/poi/poifs/crypt/dsig/SignatureInfo.java Bestand weergeven

@@ -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");

+ 2
- 2
poi-ooxml/src/main/java/org/apache/poi/xdgf/usermodel/XDGFShape.java Bestand weergeven

@@ -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

+ 1
- 1
poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFShape.java Bestand weergeven

@@ -402,7 +402,7 @@ public abstract class HSLFShape implements Shape<HSLFShape,HSLFTextParagraph> {
}

/**
* @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(){

+ 1
- 1
poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/PicturesTable.java Bestand weergeven

@@ -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());
}

+ 1
- 1
poi/src/main/java/org/apache/poi/ddf/EscherRecord.java Bestand weergeven

@@ -73,7 +73,7 @@ public abstract class EscherRecord implements Duplicatable, GenericRecord {

/**
* 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.

+ 1
- 1
poi/src/main/java/org/apache/poi/poifs/crypt/ChunkedCipherInputStream.java Bestand weergeven

@@ -203,7 +203,7 @@ public abstract class ChunkedCipherInputStream extends LittleEndianInputStream {

/**
* 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) {

+ 1
- 1
poi/src/main/java/org/apache/poi/poifs/crypt/ChunkedCipherOutputStream.java Bestand weergeven

@@ -207,7 +207,7 @@ public abstract class ChunkedCipherOutputStream extends FilterOutputStream {

/**
* 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();

Laden…
Annuleren
Opslaan