git://git.nikiroo.be
/
fanfix-jexer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1596e11
)
eliminate printStackTrace() in example
author
Kevin Lamonte
<kevin.lamonte@gmail.com>
Sat, 23 Feb 2019 00:52:22 +0000
(18:52 -0600)
committer
Kevin Lamonte
<kevin.lamonte@gmail.com>
Sat, 23 Feb 2019 00:52:22 +0000
(18:52 -0600)
README.md
patch
|
blob
|
blame
|
history
diff --git
a/README.md
b/README.md
index 2165e4f24d31d509ffbae960340a9bc0c905a088..2a62f1c1eb6531b151b60b6aec531883b5e10593 100644
(file)
--- a/
README.md
+++ b/
README.md
@@
-93,13
+93,9
@@
class MyApplication extends TApplication {
new MyWindow(this);
}
- public static void main(String [] args) {
- try {
- MyApplication app = new MyApplication();
- (new Thread(app)).start();
- } catch (Throwable t) {
- t.printStackTrace();
- }
+ public static void main(String [] args) throws Exception {
+ MyApplication app = new MyApplication();
+ (new Thread(app)).start();
}
}
```