RSyntaxTextArea | Missing @Override annotation

General Discussion on RSyntaxTextArea.

Moderator: robert

RSyntaxTextArea | Missing @Override annotation

Postby Blogghete » Mon Sep 23, 2013 3:08 pm

In the class

the method

public void paint(Graphics g, int offs0, int offs1, Shape bounds,
JTextComponent c) {

requires the


annotation to make it consistent with the Formatter style rules adopted by the other classes of the same project.
Thanks in advance,
Posts: 11
Joined: Wed May 29, 2013 3:25 pm

Re: RSyntaxTextArea | Missing @Override annotation

Postby robert » Fri Sep 27, 2013 1:24 pm

Thanks Bloghette. That method isn't marked with @Override because RSTA builds with "-source 1.5", so we cannot mark interface method implementations as overridden, only methods that override a prior implementation.
User avatar
Posts: 852
Joined: Sat May 10, 2008 5:16 pm

Return to Open Discussion

Who is online

Users browsing this forum: No registered users and 1 guest