Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0acd1210 authored by Ken Wakasa's avatar Ken Wakasa
Browse files

Fix wrong indents.

Removed an unused method too.

Change-Id: Id364009fd4e94ec65862fc3651a181e862909a42
parent 90adbc7f
Loading
Loading
Loading
Loading
+7 −11
Original line number Diff line number Diff line
@@ -88,8 +88,4 @@ public final class CoordinateUtils {
        coordsArray[baseIndex + INDEX_X] = coords[INDEX_X];
        coordsArray[baseIndex + INDEX_Y] = coords[INDEX_Y];
    }

    public static void copyArray(final int[] destination, final int[] source) {
        System.arraycopy(source, 0, destination, 0, source.length);
    }
}
+2 −3
Original line number Diff line number Diff line
@@ -42,8 +42,7 @@ public class WordComposerTests extends AndroidTestCase {
                        Constants.NOT_A_COORDINATE, Constants.NOT_A_COORDINATE);
        final String PREVWORD = "prevword";
        wc.setComposingWord(CODEPOINTS_WITHIN_BMP, COORDINATES_WITHIN_BMP, PREVWORD);
        assertEquals(wc.size(),
                STR_WITHIN_BMP.codePointCount(0, STR_WITHIN_BMP.length()));
        assertEquals(wc.size(), STR_WITHIN_BMP.codePointCount(0, STR_WITHIN_BMP.length()));
        assertFalse(wc.isCursorFrontOrMiddleOfComposingWord());
        wc.setCursorPositionWithinWord(2);
        assertTrue(wc.isCursorFrontOrMiddleOfComposingWord());