Skip to content

Commit b9dbf06

Browse files
authored
Merge pull request #96 from LeanBitLab/fix-inputlogic-encapsulation-6957683614203868009
🧹 Make fields private in InputLogic
2 parents a558f19 + a514c42 commit b9dbf06

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

app/src/main/java/helium314/keyboard/latin/inputlogic/InputLogic.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,13 +81,12 @@ public final class InputLogic {
8181
private static final int[] EMPTY_CODE_POINTS = new int[0];
8282

8383
// TODO : Remove this member when we can.
84-
final LatinIME mLatinIME;
84+
private final LatinIME mLatinIME;
8585
private final SuggestionStripViewAccessor mSuggestionStripViewAccessor;
8686

8787
@NonNull
8888
private final InputLogicHandler mInputLogicHandler;
8989

90-
// TODO : make all these fields private as soon as possible.
9190
// Current space state of the input method. This can be any of the above
9291
// constants.
9392
private int mSpaceState;
@@ -98,7 +97,6 @@ public final class InputLogic {
9897
private SingleDictionaryFacilitator mEmojiDictionaryFacilitator;
9998

10099
private LastComposedWord mLastComposedWord = LastComposedWord.NOT_A_COMPOSED_WORD;
101-
// This has package visibility so it can be accessed from InputLogicHandler.
102100
private final WordComposer mWordComposer;
103101
private final RichInputConnection mConnection;
104102
private final RecapitalizeStatus mRecapitalizeStatus = new RecapitalizeStatus();

0 commit comments

Comments
 (0)