]> source.dussan.org Git - poi.git/commitdiff
bug 59170: remove deprecated constructors in o.a.p.hwpf.usermodel.Paragraph
authorJaven O'Neal <onealj@apache.org>
Fri, 17 Jun 2016 02:16:40 +0000 (02:16 +0000)
committerJaven O'Neal <onealj@apache.org>
Fri, 17 Jun 2016 02:16:40 +0000 (02:16 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1748791 13f79535-47bb-0310-9956-ffa450edef68

src/scratchpad/src/org/apache/poi/hwpf/usermodel/Paragraph.java

index c615e76e424e9f5802a460802b8a85be77471463..6e5f688160ce0f6a0aee8c0c8f12da6189319ffd 100644 (file)
@@ -159,39 +159,6 @@ public class Paragraph extends Range implements Cloneable {
   protected ParagraphProperties _props;
   protected SprmBuffer _papx;
 
-    @Deprecated
-    protected Paragraph( int startIdxInclusive, int endIdxExclusive,
-            Table parent )
-    {
-        super( startIdxInclusive, endIdxExclusive, parent );
-
-        initAll();
-        PAPX papx = _paragraphs.get( _parEnd - 1 );
-        _props = papx.getParagraphProperties( _doc.getStyleSheet() );
-        _papx = papx.getSprmBuf();
-        _istd = papx.getIstd();
-    }
-
-    @Deprecated
-    protected Paragraph( PAPX papx, Range parent )
-    {
-        super( Math.max( parent._start, papx.getStart() ), Math.min(
-                parent._end, papx.getEnd() ), parent );
-        _props = papx.getParagraphProperties( _doc.getStyleSheet() );
-        _papx = papx.getSprmBuf();
-        _istd = papx.getIstd();
-    }
-
-    @Deprecated
-    protected Paragraph( PAPX papx, Range parent, int start )
-    {
-        super( Math.max( parent._start, start ), Math.min( parent._end,
-                papx.getEnd() ), parent );
-        _props = papx.getParagraphProperties( _doc.getStyleSheet() );
-        _papx = papx.getSprmBuf();
-        _istd = papx.getIstd();
-    }
-
     @Internal
     Paragraph( PAPX papx, ParagraphProperties properties, Range parent )
     {
@@ -213,12 +180,6 @@ public class Paragraph extends Range implements Cloneable {
      return _istd;
   }
 
-  @Deprecated
-  public int type()
-  {
-    return TYPE_PARAGRAPH;
-  }
-
   public boolean isInTable()
   {
     return _props.getFInTable();