diff --git a/poi-ooxml/src/main/java/org/apache/poi/xwpf/usermodel/XWPFTheme.java b/poi-ooxml/src/main/java/org/apache/poi/xwpf/usermodel/XWPFTheme.java index 13d4a07a5d..a01904e835 100644 --- a/poi-ooxml/src/main/java/org/apache/poi/xwpf/usermodel/XWPFTheme.java +++ b/poi-ooxml/src/main/java/org/apache/poi/xwpf/usermodel/XWPFTheme.java @@ -81,7 +81,7 @@ public class XWPFTheme extends POIXMLDocumentPart { * * @return name of this theme, e.g. "Office Theme" */ - public String getName(){ + public String getName() { return _theme.getName(); } @@ -90,7 +90,7 @@ public class XWPFTheme extends POIXMLDocumentPart { * * @param name name of this theme */ - public void setName(String name){ + public void setName(String name) { _theme.setName(name); } diff --git a/poi/src/main/java/org/apache/poi/ddf/EscherComplexProperty.java b/poi/src/main/java/org/apache/poi/ddf/EscherComplexProperty.java index 675bc7d49c..218ef9576d 100644 --- a/poi/src/main/java/org/apache/poi/ddf/EscherComplexProperty.java +++ b/poi/src/main/java/org/apache/poi/ddf/EscherComplexProperty.java @@ -193,7 +193,7 @@ public class EscherComplexProperty extends EscherProperty { } if (complexData == null) { - // if coomplexData is not initialized, it is equal only if + // if complexData is not initialized, it is equal only if // complexData is also uninitialized or equals an empty array return escherComplexProperty.complexData == null || Arrays.equals(escherComplexProperty.complexData, new byte[escherComplexProperty.complexSize]);