Remove some inspect code warnings

This commit is contained in:
Fredrik Fornwall
2016-05-20 10:46:48 +02:00
parent d1c0b6abdc
commit 0861be363b
2 changed files with 6 additions and 7 deletions

View File

@@ -66,7 +66,6 @@ import com.termux.terminal.TerminalSession.SessionChangedCallback;
import com.termux.view.TerminalKeyListener;
import com.termux.view.TerminalView;
import java.nio.charset.StandardCharsets;
import java.util.Arrays;
import java.util.Collections;
import java.util.LinkedHashSet;

View File

@@ -49,9 +49,9 @@ public final class TerminalView extends View {
/** Log view key and IME events. */
private static final boolean LOG_KEY_EVENTS = false;
public static interface KeyboardModifiers {
public boolean readControlButton();
public boolean readAltButton();
public interface KeyboardModifiers {
boolean readControlButton();
boolean readAltButton();
}
public KeyboardModifiers mModifiers;
@@ -219,7 +219,7 @@ public final class TerminalView extends View {
/**
* Attach a {@link TerminalSession} to this view.
*
*
* @param session
* The {@link TerminalSession} this view will be displaying.
*/
@@ -369,7 +369,7 @@ public final class TerminalView extends View {
/**
* Sets the text size, which in turn sets the number of rows and columns.
*
*
* @param textSize
* the new font size, in density-independent pixels.
*/
@@ -728,7 +728,7 @@ public final class TerminalView extends View {
/**
* Called when a key is released in the view.
*
*
* @param keyCode
* The keycode of the key which was released.
* @param event