diff options
-rw-r--r-- | jenkins/create_jobs.groovy | 1 | ||||
-rw-r--r-- | src/integrationtest/org/apache/poi/stress/HMEFFileHandler.java | 9 |
2 files changed, 2 insertions, 8 deletions
diff --git a/jenkins/create_jobs.groovy b/jenkins/create_jobs.groovy index 955a12fddb..29d64ee7fe 100644 --- a/jenkins/create_jobs.groovy +++ b/jenkins/create_jobs.groovy @@ -231,6 +231,7 @@ poijobs.each { poijob -> } preBuildCleanup { includePattern('**/ooxml-lib/ooxml*.jar') + includePattern('sonar/*/target/**') } if(poijob.sonar) { credentialsBinding { diff --git a/src/integrationtest/org/apache/poi/stress/HMEFFileHandler.java b/src/integrationtest/org/apache/poi/stress/HMEFFileHandler.java index 908600979f..f48775cf21 100644 --- a/src/integrationtest/org/apache/poi/stress/HMEFFileHandler.java +++ b/src/integrationtest/org/apache/poi/stress/HMEFFileHandler.java @@ -25,7 +25,6 @@ import java.util.Arrays; import org.apache.poi.hmef.HMEFMessage; import org.apache.poi.hmef.attribute.MAPIAttribute; -import org.apache.poi.hmef.attribute.MAPIStringAttribute; import org.apache.poi.hmef.attribute.TNEFAttribute; import org.apache.poi.hmef.attribute.TNEFProperty; import org.apache.poi.hsmf.datatypes.MAPIProperty; @@ -47,13 +46,7 @@ public class HMEFFileHandler extends AbstractFileHandler { public void handleFile(InputStream stream, String path) throws Exception { HMEFMessage msg = new HMEFMessage(stream); - // list all properties - StringBuilder props = new StringBuilder(); - for(MAPIAttribute att : msg.getMessageMAPIAttributes()) { - props.append(att.getType()).append(": ").append(MAPIStringAttribute.getAsString( att)).append("\n"); - } - - // there are two test-files that have no body... + // there are test-files that have no body... String[] HTML_BODY = { "Testing TNEF Message", "TNEF test message with attachments", "Test" }; |