mirror of
https://github.com/apache/poi.git
synced 2026-02-27 12:30:08 +08:00
format methods
This commit is contained in:
parent
f8a8189230
commit
ba04c61188
@ -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);
|
||||
}
|
||||
|
||||
|
||||
@ -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]);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user