diff options
Diffstat (limited to 'poi-ooxml')
-rw-r--r-- | poi-ooxml/src/main/java/org/apache/poi/xdgf/usermodel/XDGFSheet.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/poi-ooxml/src/main/java/org/apache/poi/xdgf/usermodel/XDGFSheet.java b/poi-ooxml/src/main/java/org/apache/poi/xdgf/usermodel/XDGFSheet.java index ef363efc8e..11621ded35 100644 --- a/poi-ooxml/src/main/java/org/apache/poi/xdgf/usermodel/XDGFSheet.java +++ b/poi-ooxml/src/main/java/org/apache/poi/xdgf/usermodel/XDGFSheet.java @@ -73,9 +73,9 @@ public abstract class XDGFSheet { for (SectionType section: sheet.getSectionArray()) { String name = section.getN(); - if (name.equals("Geometry")) { + if ("Geometry".equals(name)) { _geometry.put(section.getIX(), new GeometrySection(section, this)); - } else if (name.equals("Character")) { + } else if ("Character".equals(name)) { _character = new CharacterSection(section, this); } else { _sections.put(name, XDGFSection.load(section, this)); |