aboutsummaryrefslogtreecommitdiffstats
path: root/src/scratchpad
diff options
context:
space:
mode:
authorTim Allison <tallison@apache.org>2017-04-05 11:02:48 +0000
committerTim Allison <tallison@apache.org>2017-04-05 11:02:48 +0000
commite4c2fa0fe0e7397a1fbf33ecee51bef7f28779c2 (patch)
tree13113565d26bf3c7fa1199372cad47d8a6a06e39 /src/scratchpad
parent55ed734108be87f0487343d86a616e87a5ee20ca (diff)
downloadpoi-e4c2fa0fe0e7397a1fbf33ecee51bef7f28779c2.tar.gz
poi-e4c2fa0fe0e7397a1fbf33ecee51bef7f28779c2.zip
bug 50955 convert Set to Singleton per Javen's code review
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1790215 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/scratchpad')
-rw-r--r--src/scratchpad/src/org/apache/poi/hwpf/model/OldTextPiece.java8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/scratchpad/src/org/apache/poi/hwpf/model/OldTextPiece.java b/src/scratchpad/src/org/apache/poi/hwpf/model/OldTextPiece.java
index 4e6f71983c..6fc78dfd05 100644
--- a/src/scratchpad/src/org/apache/poi/hwpf/model/OldTextPiece.java
+++ b/src/scratchpad/src/org/apache/poi/hwpf/model/OldTextPiece.java
@@ -102,14 +102,6 @@ public class OldTextPiece extends TextPiece {
return 42; // any arbitrary constant will do
}
-
- /**
- * Returns the character position we start at.
- */
- public int getCP() {
- return getStart();
- }
-
public String toString() {
return "OldTextPiece from " + getStart() + " to " + getEnd() + " ("
+ getPieceDescriptor() + ")";