Remove unused WordComposer.init method

Change-Id: I46c6a6e1c1536599cb909bf81297001b238f2ec8
This commit is contained in:
Tadashi G. Takaoka 2012-07-06 20:00:22 +09:00
parent 36311cacd6
commit 6b4ce58fc6

View file

@ -34,7 +34,7 @@ public class WordComposer {
private int[] mPrimaryKeyCodes;
private final InputPointers mInputPointers = new InputPointers();
private StringBuilder mTypedWord;
private final StringBuilder mTypedWord;
private CharSequence mAutoCorrection;
private boolean mIsResumed;
@ -59,10 +59,6 @@ public class WordComposer {
}
public WordComposer(WordComposer source) {
init(source);
}
public void init(WordComposer source) {
mPrimaryKeyCodes = Arrays.copyOf(source.mPrimaryKeyCodes, source.mPrimaryKeyCodes.length);
mTypedWord = new StringBuilder(source.mTypedWord);
mInputPointers.copy(source.mInputPointers);