Author: kiwiwings Date: Tue Jan 21 00:06:32 2020 New Revision: 1873001 URL: http://svn.apache.org/viewvc?rev=1873001&view=rev Log: try to fix winmail errors in maven / sonar builds
Modified: poi/trunk/jenkins/create_jobs.groovy poi/trunk/src/integrationtest/org/apache/poi/stress/HMEFFileHandler.java Modified: poi/trunk/jenkins/create_jobs.groovy URL: http://svn.apache.org/viewvc/poi/trunk/jenkins/create_jobs.groovy?rev=1873001&r1=1873000&r2=1873001&view=diff ============================================================================== --- poi/trunk/jenkins/create_jobs.groovy (original) +++ poi/trunk/jenkins/create_jobs.groovy Tue Jan 21 00:06:32 2020 @@ -231,6 +231,7 @@ poijobs.each { poijob -> } preBuildCleanup { includePattern('**/ooxml-lib/ooxml*.jar') + includePattern('sonar/*/target/**') } if(poijob.sonar) { credentialsBinding { Modified: poi/trunk/src/integrationtest/org/apache/poi/stress/HMEFFileHandler.java URL: http://svn.apache.org/viewvc/poi/trunk/src/integrationtest/org/apache/poi/stress/HMEFFileHandler.java?rev=1873001&r1=1873000&r2=1873001&view=diff ============================================================================== --- poi/trunk/src/integrationtest/org/apache/poi/stress/HMEFFileHandler.java (original) +++ poi/trunk/src/integrationtest/org/apache/poi/stress/HMEFFileHandler.java Tue Jan 21 00:06:32 2020 @@ -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 Abs 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" }; --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@poi.apache.org For additional commands, e-mail: commits-h...@poi.apache.org