Skip to content

Commit

Permalink
TIKA-1074: remove future proofing for InterruptedException
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/tika/trunk@1449081 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
mikemccand committed Feb 22, 2013
1 parent a05908b commit 124a4b8
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
3 changes: 0 additions & 3 deletions tika-app/src/main/java/org/apache/tika/cli/TikaCLI.java
Original file line number Diff line number Diff line change
Expand Up @@ -741,9 +741,6 @@ public void parseEmbedded(InputStream inputStream, ContentHandler contentHandler
}
} catch (Exception e) {
logger.warn("Ignoring unexpected exception trying to save embedded file " + name, e);
if (e instanceof InterruptedException) {
Thread.currentThread().interrupt();
}
} finally {
if (os != null) {
os.close();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,6 @@ protected void handleEmbeddedOfficeDoc(
// Not a valid OLE10Native record, skip it
} catch (Exception e) {
logger.warn("Ignoring unexpected exception while parsing possible OLE10_NATIVE embedded document " + dir.getName(), e);
if (e instanceof InterruptedException) {
Thread.currentThread().interrupt();
}
}
} else if (type == POIFSDocumentType.COMP_OBJ) {
try {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,6 @@ private void parseSummaryEntryIfExists(
throw new TikaException("Invalid DocumentInputStream", e);
} catch (Exception e) {
logger.warn("Ignoring unexpected exception while parsing summary entry " + entryName, e);
if (e instanceof InterruptedException) {
Thread.currentThread().interrupt();
}
}
}

Expand Down

0 comments on commit 124a4b8

Please sign in to comment.