You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by ma...@apache.org on 2016/01/24 23:22:24 UTC
[2/4] tika git commit: fix for TIKA-1840 contributed by zetisam --
fixed indentation
fix for TIKA-1840 contributed by zetisam -- fixed indentation
Project: http://git-wip-us.apache.org/repos/asf/tika/repo
Commit: http://git-wip-us.apache.org/repos/asf/tika/commit/7d43bd7c
Tree: http://git-wip-us.apache.org/repos/asf/tika/tree/7d43bd7c
Diff: http://git-wip-us.apache.org/repos/asf/tika/diff/7d43bd7c
Branch: refs/heads/master
Commit: 7d43bd7c5f55afc9ce46d4e3bdea71102d49aa9d
Parents: 52b82bd
Author: Sam Heijens <sa...@zeticon.com>
Authored: Fri Jan 22 12:04:23 2016 +0100
Committer: Sam Heijens <sa...@zeticon.com>
Committed: Fri Jan 22 12:04:23 2016 +0100
----------------------------------------------------------------------
.../org/apache/tika/parser/microsoft/HSLFExtractor.java | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tika/blob/7d43bd7c/tika-parsers/src/main/java/org/apache/tika/parser/microsoft/HSLFExtractor.java
----------------------------------------------------------------------
diff --git a/tika-parsers/src/main/java/org/apache/tika/parser/microsoft/HSLFExtractor.java b/tika-parsers/src/main/java/org/apache/tika/parser/microsoft/HSLFExtractor.java
index d370b50..1ee61d2 100644
--- a/tika-parsers/src/main/java/org/apache/tika/parser/microsoft/HSLFExtractor.java
+++ b/tika-parsers/src/main/java/org/apache/tika/parser/microsoft/HSLFExtractor.java
@@ -138,16 +138,16 @@ public class HSLFExtractor extends AbstractPOIFSExtractor {
handleSlideEmbeddedResources(slide, xhtml);
- // TODO Find the Notes for this slide and extract inline
- HSLFNotes notes = slide.getNotes();
- if (notes != null) {
+ // Find the Notes for this slide and extract inline
+ HSLFNotes notes = slide.getNotes();
+ if (notes != null) {
xhtml.startElement("div", "class", "slide-notes");
textRunsToText(xhtml, notes.getTextParagraphs());
xhtml.endElement("div");
}
-
+
// Slide complete
xhtml.endElement("div");
@@ -208,7 +208,7 @@ public class HSLFExtractor extends AbstractPOIFSExtractor {
for (HSLFShape shape : shapes) {
if (shape != null && !HSLFMasterSheet.isPlaceholder(shape)) {
if (shape instanceof HSLFTextShape) {
- HSLFTextShape tsh = (HSLFTextShape) shape;
+ HSLFTextShape tsh = (HSLFTextShape) shape;
String text = tsh.getText();
if (text != null) {
xhtml.element("p", text);