Merge "Remove unused WordComposer.init method"

This commit is contained in:
Tadashi G. Takaoka 2012-07-08 18:33:56 -07:00 committed by Android (Google) Code Review
commit 9c0ddb5988

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);