]> source.dussan.org Git - poi.git/commitdiff
Bug-61947 remove deprecated method
authorPJ Fanning <fanningpj@apache.org>
Mon, 1 Jan 2018 12:13:53 +0000 (12:13 +0000)
committerPJ Fanning <fanningpj@apache.org>
Mon, 1 Jan 2018 12:13:53 +0000 (12:13 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1819762 13f79535-47bb-0310-9956-ffa450edef68

src/scratchpad/src/org/apache/poi/hwpf/model/CHPFormattedDiskPage.java
src/scratchpad/src/org/apache/poi/hwpf/usermodel/Range.java

index 20046ecee53f291488e3be8743f39e5067344f2e..5191342c149c035cb8b5dabbc887abe1648014f1 100644 (file)
@@ -147,15 +147,6 @@ public final class CHPFormattedDiskPage extends FormattedDiskPage
         return chpx;
     }
 
-    /**
-     * @deprecated Use {@link #toByteArray(CharIndexTranslator)} instead
-     */
-    @Deprecated
-    protected byte[] toByteArray(CharIndexTranslator translator, int fcMin)
-    {
-        return toByteArray( translator );
-    }
-
     protected byte[] toByteArray( CharIndexTranslator translator )
     {
         byte[] buf = new byte[512];
index eae15813c96c55f9fe4de948d99225de522d6260..228f2a11914248390298e6183aabb5506f67b445 100644 (file)
@@ -479,7 +479,7 @@ public class Range { // TODO -instantiable superclass
      * @deprecated POI 3.8 beta 4. Use code shall not work with {@link ParagraphProperties}
         */
     @Deprecated
-       protected Paragraph insertAfter(ParagraphProperties props, int styleIndex)
+       Paragraph insertAfter(ParagraphProperties props, int styleIndex)
        {
                return this.insertAfter(props, styleIndex, "\r");
        }
@@ -501,7 +501,7 @@ public class Range { // TODO -instantiable superclass
      * @deprecated POI 3.8 beta 4. Use code shall not work with {@link ParagraphProperties}
         */
     @Deprecated
-       protected Paragraph insertAfter(ParagraphProperties props, int styleIndex, String text)
+       Paragraph insertAfter(ParagraphProperties props, int styleIndex, String text)
        {
                initAll();
                StyleSheet ss = _doc.getStyleSheet();