[josm-dev] Automatic tag correction

Dirk Stöcker openstreetmap at dstoecker.de
Sun Jul 20 23:06:04 BST 2008


On Sun, 20 Jul 2008, Frederik Ramm wrote:

> ./org/openstreetmap/josm/corrector/TagCorrectionTableModel.java:53:
> method does not override a method from its superclass
>         @Override public Object getValueAt(int rowIndex, int colIndex) {
...
> PLEASE do not check in code that does not compile with Java 1.5. (I
> removed the "Override" statements. Please someone check whether these
> methods are really needed... if they don't override something then who
> calls them?)

Hmm, I read about this a bit and now I'm totally confused. According to 
this:

http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/table/AbstractTableModel.html

The functions, where you removed @Override are part of the Java 1.5, so 
@Override should be correct.

Do I miss something here?

Ciao
-- 
http://www.dstoecker.eu/ (PGP key available)




More information about the josm-dev mailing list