mirror of
https://github.com/apache/poi.git
synced 2026-02-27 20:40:08 +08:00
some incorrect uses of
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895151 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ef1dd54f36
commit
d96869c870
@ -111,7 +111,7 @@ import org.w3c.dom.events.MutationEvent;
|
||||
*
|
||||
* <pre>
|
||||
* // loading the keystore - pkcs12 is used here, but of course jks & 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");
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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(){
|
||||
|
||||
@ -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());
|
||||
}
|
||||
|
||||
@ -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.
|
||||
|
||||
@ -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) {
|
||||
|
||||
@ -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();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user