This is an automated email from the ASF dual-hosted git repository.
fanningpj pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/poi.git
The following commit(s) were added to refs/heads/trunk by this push:
new ba04c61188 format methods
ba04c61188 is described below
commit ba04c6118874edc67598726b781cce4586010e13
Author: PJ Fanning <[email protected]>
AuthorDate: Sun Jan 11 10:34:54 2026 +0100
format methods
---
poi-ooxml/src/main/java/org/apache/poi/xwpf/usermodel/XWPFTheme.java | 4 ++--
poi/src/main/java/org/apache/poi/ddf/EscherComplexProperty.java | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
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]);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]