Skip to content
Browse files

TIKA-1074: remove future proofing for InterruptedException

git-svn-id: https://svn.apache.org/repos/asf/tika/trunk@1449081 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
1 parent a05908b commit 124a4b8b076673bff4b2a06da81c17d1a8dc2510 @mikemccand mikemccand committed
View
3 tika-app/src/main/java/org/apache/tika/cli/TikaCLI.java
@@ -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();
View
3 tika-parsers/src/main/java/org/apache/tika/parser/microsoft/AbstractPOIFSExtractor.java
@@ -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 {
View
3 tika-parsers/src/main/java/org/apache/tika/parser/microsoft/SummaryExtractor.java
@@ -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();
- }
}
}

0 comments on commit 124a4b8

Please sign in to comment.
Something went wrong with that request. Please try again.