diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-06 08:55:09 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-12 09:41:28 +0200 |
commit | 0477e6c39b7ce8b7f6560fbf222c19fe4f358dc8 (patch) | |
tree | 218eba20dd23c6a865cf01aa7532bf1261a69bc8 /stoc/test | |
parent | java: remove unused parameters (diff) | |
download | core-0477e6c39b7ce8b7f6560fbf222c19fe4f358dc8.tar.gz core-0477e6c39b7ce8b7f6560fbf222c19fe4f358dc8.zip |
java: add @Override annotation to overriding methods
Change-Id: I086964c6f6ce52c60c52b6dbc445d3c21d22c80a
Diffstat (limited to 'stoc/test')
-rw-r--r-- | stoc/test/javavm/testapplet/TestApplet.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/stoc/test/javavm/testapplet/TestApplet.java b/stoc/test/javavm/testapplet/TestApplet.java index 4275358c3e89..ad090f3d8ce0 100644 --- a/stoc/test/javavm/testapplet/TestApplet.java +++ b/stoc/test/javavm/testapplet/TestApplet.java @@ -33,6 +33,7 @@ public class TestApplet extends java.applet.Applet { /** Initialization method that will be called after the applet is loaded * into the browser. */ + @Override public void init () { setBackground( Color.green); resize( 300, 300); @@ -56,6 +57,7 @@ public class TestApplet extends java.applet.Applet { } + @Override public void paint( Graphics g) { super.paint( g); } |