Browse Source

Bug-61947 remove deprecated method

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1819762 13f79535-47bb-0310-9956-ffa450edef68
tags/REL_4_0_0_FINAL
PJ Fanning 6 years ago
parent
commit
f285780483

+ 0
- 9
src/scratchpad/src/org/apache/poi/hwpf/model/CHPFormattedDiskPage.java View 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];

+ 2
- 2
src/scratchpad/src/org/apache/poi/hwpf/usermodel/Range.java View 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();

Loading…
Cancel
Save