You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by fa...@apache.org on 2018/01/01 12:13:53 UTC
svn commit: r1819762 - in /poi/trunk/src/scratchpad/src/org/apache/poi/hwpf:
model/CHPFormattedDiskPage.java usermodel/Range.java
Author: fanningpj
Date: Mon Jan 1 12:13:53 2018
New Revision: 1819762
URL: http://svn.apache.org/viewvc?rev=1819762&view=rev
Log:
Bug-61947 remove deprecated method
Modified:
poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/CHPFormattedDiskPage.java
poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/usermodel/Range.java
Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/CHPFormattedDiskPage.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/CHPFormattedDiskPage.java?rev=1819762&r1=1819761&r2=1819762&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/CHPFormattedDiskPage.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/CHPFormattedDiskPage.java Mon Jan 1 12:13:53 2018
@@ -147,15 +147,6 @@ public final class CHPFormattedDiskPage
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];
Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/usermodel/Range.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/usermodel/Range.java?rev=1819762&r1=1819761&r2=1819762&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/usermodel/Range.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/usermodel/Range.java Mon Jan 1 12:13:53 2018
@@ -479,7 +479,7 @@ public class Range { // TODO -instantiab
* @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 -instantiab
* @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();
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org