Merge "Remove unused WordComposer.init method"

main
Tadashi G. Takaoka 2012-07-08 18:33:56 -07:00 committed by Android (Google) Code Review
commit 9c0ddb5988
1 changed files with 1 additions and 5 deletions

View File

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