git://git.nikiroo.be
/
fanfix.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
checkstyle sweep
[fanfix.git]
/
src
/
jexer
/
demos
/
DemoApplication.java
diff --git
a/src/jexer/demos/DemoApplication.java
b/src/jexer/demos/DemoApplication.java
index d9bbeb765db92d45aca5537fe274f9b288c42c92..f0bdacd3fab241f82b4922287ada4259048c5a5c 100644
(file)
--- a/
src/jexer/demos/DemoApplication.java
+++ b/
src/jexer/demos/DemoApplication.java
@@
-104,7
+104,7
@@
public class DemoApplication extends TApplication {
* a window
*/
@Override
* a window
*/
@Override
- public boolean onMenu(TMenuEvent menu) {
+ public boolean onMenu(
final
TMenuEvent menu) {
if (menu.getId() == TMenu.MID_OPEN_FILE) {
try {
String filename = fileOpenBox(".");
if (menu.getId() == TMenu.MID_OPEN_FILE) {
try {
String filename = fileOpenBox(".");
@@
-116,7
+116,7
@@
public class DemoApplication extends TApplication {
String EOL = System.getProperty("line.separator");
try {
String EOL = System.getProperty("line.separator");
try {
- while(scanner.hasNextLine()) {
+ while
(scanner.hasNextLine()) {
fileContents.append(scanner.nextLine() + EOL);
}
new DemoTextWindow(this, filename,
fileContents.append(scanner.nextLine() + EOL);
}
new DemoTextWindow(this, filename,
@@
-142,7
+142,7
@@
public class DemoApplication extends TApplication {
* @param backendType one of the TApplication.BackendType values
* @throws Exception if TApplication can't instantiate the Backend.
*/
* @param backendType one of the TApplication.BackendType values
* @throws Exception if TApplication can't instantiate the Backend.
*/
- public DemoApplication(BackendType backendType) throws Exception {
+ public DemoApplication(
final
BackendType backendType) throws Exception {
super(backendType);
addAllWidgets();
}
super(backendType);
addAllWidgets();
}