From 54c4c5829ae1096c30ba5ab4e1ef3fba35b69bcd Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Sun, 27 May 2018 20:59:52 +0000 Subject: [PATCH] [githib-110] rename text segment class. This closes #110 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1832354 13f79535-47bb-0310-9956-ffa450edef68 --- .../usermodel/{TextSegement.java => TextSegment.java} | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) rename src/ooxml/java/org/apache/poi/xwpf/usermodel/{TextSegement.java => TextSegment.java} (91%) diff --git a/src/ooxml/java/org/apache/poi/xwpf/usermodel/TextSegement.java b/src/ooxml/java/org/apache/poi/xwpf/usermodel/TextSegment.java similarity index 91% rename from src/ooxml/java/org/apache/poi/xwpf/usermodel/TextSegement.java rename to src/ooxml/java/org/apache/poi/xwpf/usermodel/TextSegment.java index 46b272703f..1cae3467f5 100644 --- a/src/ooxml/java/org/apache/poi/xwpf/usermodel/TextSegement.java +++ b/src/ooxml/java/org/apache/poi/xwpf/usermodel/TextSegment.java @@ -20,23 +20,23 @@ package org.apache.poi.xwpf.usermodel; /** * saves the begin and end position of a text in a Paragraph */ -public class TextSegement { +public class TextSegment { private PositionInParagraph beginPos; private PositionInParagraph endPos; - public TextSegement() { + public TextSegment() { this.beginPos = new PositionInParagraph(); this.endPos = new PositionInParagraph(); } - public TextSegement(int beginRun, int endRun, int beginText, int endText, int beginChar, int endChar) { + public TextSegment(int beginRun, int endRun, int beginText, int endText, int beginChar, int endChar) { PositionInParagraph beginPos = new PositionInParagraph(beginRun, beginText, beginChar); PositionInParagraph endPos = new PositionInParagraph(endRun, endText, endChar); this.beginPos = beginPos; this.endPos = endPos; } - public TextSegement(PositionInParagraph beginPos, PositionInParagraph endPos) { + public TextSegment(PositionInParagraph beginPos, PositionInParagraph endPos) { this.beginPos = beginPos; this.endPos = endPos; } -- 2.39.5