]> source.dussan.org Git - poi.git/commitdiff
keep rat quiet
authorYegor Kozlov <yegor@apache.org>
Fri, 9 Dec 2011 13:27:12 +0000 (13:27 +0000)
committerYegor Kozlov <yegor@apache.org>
Fri, 9 Dec 2011 13:27:12 +0000 (13:27 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1212403 13f79535-47bb-0310-9956-ffa450edef68

build.xml
src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFTextParagraph.java
src/ooxml/testcases/org/apache/poi/xssf/streaming/TestSXSSFWorkbook.java

index 84c2bccbfd629cd600d179f07e606de9a09534ff..959f69c6a53b9da1a5c48181290dedb98b839b56 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -1164,6 +1164,7 @@ under the License.
               <exclude name="scratchpad/testcases/dummy.txt" />
               <exclude name="contrib/testcases/dummy.txt" />
               <exclude name="examples/lib/dummy.txt" />
+              <exclude name="resources/ooxml/org/apache/poi/xslf/usermodel/presetShapeDefinitions.xml" />
            </fileset>
        </rat:report>
     </target>
index d2d8823b12fe85b24c8f81c3455db6862a586c5e..989b237f828d181a6b2f1a0c897f5618a22db275 100755 (executable)
@@ -1,3 +1,19 @@
+/* ====================================================================\r
+   Licensed to the Apache Software Foundation (ASF) under one or more\r
+   contributor license agreements.  See the NOTICE file distributed with\r
+   this work for additional information regarding copyright ownership.\r
+   The ASF licenses this file to You under the Apache License, Version 2.0\r
+   (the "License"); you may not use this file except in compliance with\r
+   the License.  You may obtain a copy of the License at\r
+\r
+       http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+   Unless required by applicable law or agreed to in writing, software\r
+   distributed under the License is distributed on an "AS IS" BASIS,\r
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+   See the License for the specific language governing permissions and\r
+   limitations under the License.\r
+==================================================================== */\r
 package org.apache.poi.xslf.usermodel;\r
 \r
 import junit.framework.TestCase;\r
index 6d7d127e982da58b889ab553b6b87383c6e23401..72258e411caeb078931078f5a59b5ed90305b9b2 100644 (file)
@@ -159,7 +159,7 @@ public final class TestSXSSFWorkbook extends BaseTestWorkbook {
     public void testGZipSheetdataWriter(){
         Workbook wb = new SXSSFWorkbook();
         ((SXSSFWorkbook)wb).setCompressTempFiles(true);
-        int rowNum = 10000;
+        int rowNum = 1000;
         int sheetNum = 5;
         for(int i = 0; i < sheetNum; i++){
             Sheet sh = wb.createSheet("sheet" + i);