]> source.dussan.org Git - poi.git/commitdiff
xml schemas - remove deprecated warnings, as we prefer the array methods - see #56854
authorAndreas Beeker <kiwiwings@apache.org>
Sat, 5 Dec 2015 21:58:20 +0000 (21:58 +0000)
committerAndreas Beeker <kiwiwings@apache.org>
Sat, 5 Dec 2015 21:58:20 +0000 (21:58 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1718125 13f79535-47bb-0310-9956-ffa450edef68

build.xml

index a031db96f25cc91211cb9547fd58804ea18a151f..b795a9947515b236599824b22459ea36656a7e70 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -19,17 +19,6 @@ under the License.
 -->
 
 <!--
-    POI Build System.  Written by:
-
-        Glen Stampoultzis   glens at apache.org
-
-    Modified by:
-
-        Rainer Klute        klute@rainer-klute.de
-        Bruno Girin         brunogirin@gmail.com
-        Yegor Kozlov        yegor at apache.org
-        Dominik Stadler     centic at apache.org
-
     This build was tested with ant 1.9.4 although it will probably work with
     other versions, however at least 1.8.0 is required.
 
@@ -719,6 +708,12 @@ under the License.
                 <replacevalue>org.apache.poi.POIXMLTypeLoader</replacevalue>
             </replace>
 
+               <!-- remove deprecated warnings, as we prefer the array methods - see #56854 -->
+            <replace dir="${xmlbean.sources.dir}" includes="**/*.java" excludes="**/impl/**">
+                <replacetoken><![CDATA[     * @deprecated
+]]></replacetoken>
+            </replace>
+
             <copy todir="${xmlbean.sources.dir}">
                 <file basedir="${ooxml.src}" file="${ooxml.src}/org/apache/poi/POIXMLTypeLoader.java"/>
             </copy>