JWhitakerMcRae / color-picker-view

Automatically exported from code.google.com/p/color-picker-view
0 stars 0 forks source link

Invalid overrides #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Import the library into workspace.

> There seem to be some Override problems in the source. For some reason, many 
of the methods you are overriding come up as an invalid override.

Original issue reported on code.google.com by XaeroDeg...@gmail.com on 2 Dec 2011 at 1:12

GoogleCodeExporter commented 9 years ago
e.g.

    @Override
    public void onColorChanged(int color) {

@Override is only legal when the parent class has that function.

Original comment by sgbeal@googlemail.com on 10 Jun 2012 at 8:52

GoogleCodeExporter commented 9 years ago
Addendum: CLASS, not interface.

Original comment by sgbeal@googlemail.com on 10 Jun 2012 at 8:53

GoogleCodeExporter commented 9 years ago
No, his coding is correct, you guys have to update your jre library to >1.5
I use 1.6, The @Override was changed heavily in the change from 1.5 to 1.6

Original comment by alexb1...@gmail.com on 5 Jul 2012 at 8:59