Skip to content

Commit

Permalink
Remove unnecessary semicolons from Android Java code
Browse files Browse the repository at this point in the history
  • Loading branch information
madmiraal committed Jul 2, 2021
1 parent eefe276 commit 3604470
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ public String[] get_keys() {
for (String key : keys) {
ret[i] = key;
i++;
};
}

return ret;
};
}

public Object[] get_values() {
Object[] ret = new Object[size()];
Expand All @@ -55,21 +55,21 @@ public Object[] get_values() {
for (String key : keys) {
ret[i] = get(key);
i++;
};
}

return ret;
};
}

public void set_keys(String[] keys) {
keys_cache = keys;
};
}

public void set_values(Object[] vals) {
int i = 0;
for (String key : keys_cache) {
put(key, vals[i]);
i++;
};
}
keys_cache = null;
};
};
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ public void onRequestPermissionsResult(int requestCode, String[] permissions, in
for (int i = 0; i < permissions.length; i++) {
GodotLib.requestPermissionResult(permissions[i], grantResults[i] == PackageManager.PERMISSION_GRANTED);
}
};
}

/**
* Invoked on the render thread when the Godot setup is complete.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -408,12 +408,12 @@ public void showKeyboard(String p_existing_text, boolean p_multiline, int p_max_

//InputMethodManager inputMgr = (InputMethodManager)activity.getSystemService(Context.INPUT_METHOD_SERVICE);
//inputMgr.toggleSoftInput(InputMethodManager.SHOW_FORCED, 0);
};
}

public void hideKeyboard() {
if (edit != null)
edit.hideKeyboard();
};
}

public void setScreenOrientation(int p_orientation) {
switch (p_orientation) {
Expand Down

0 comments on commit 3604470

Please sign in to comment.