From b048579ca0b639fba55185f4014d92ea5864729c Mon Sep 17 00:00:00 2001 From: Yegor Kozlov Date: Fri, 9 Dec 2011 13:27:12 +0000 Subject: [PATCH] keep rat quiet git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1212403 13f79535-47bb-0310-9956-ffa450edef68 --- build.xml | 1 + .../xslf/usermodel/TestXSLFTextParagraph.java | 16 ++++++++++++++++ .../poi/xssf/streaming/TestSXSSFWorkbook.java | 2 +- 3 files changed, 18 insertions(+), 1 deletion(-) diff --git a/build.xml b/build.xml index 84c2bccbfd..959f69c6a5 100644 --- a/build.xml +++ b/build.xml @@ -1164,6 +1164,7 @@ under the License. + diff --git a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFTextParagraph.java b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFTextParagraph.java index d2d8823b12..989b237f82 100755 --- a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFTextParagraph.java +++ b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFTextParagraph.java @@ -1,3 +1,19 @@ +/* ==================================================================== + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +==================================================================== */ package org.apache.poi.xslf.usermodel; import junit.framework.TestCase; diff --git a/src/ooxml/testcases/org/apache/poi/xssf/streaming/TestSXSSFWorkbook.java b/src/ooxml/testcases/org/apache/poi/xssf/streaming/TestSXSSFWorkbook.java index 6d7d127e98..72258e411c 100644 --- a/src/ooxml/testcases/org/apache/poi/xssf/streaming/TestSXSSFWorkbook.java +++ b/src/ooxml/testcases/org/apache/poi/xssf/streaming/TestSXSSFWorkbook.java @@ -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); -- 2.39.5