Jump to content

The @Override annotation is replaced by User OverRideCwalk's name


Recommended Posts

Posted (edited)

So this problem is recent, @@OverRideCwalk's name appears instead of the Override annotation inside of the code tags.

 

Consider this simple example:

public class Example {

    @[member='OverRideCwalk'] // This should be @ Override (no space)
    public String toString() {
        return "His username messes this up";
    }
}

People are currently working around this issue by putting a space between the @ and the annotation:

public class Example {

    @ Override
    public String toString() {
        return "This works fine";
    }
}
Edited by Explv
  • Like 1
Posted (edited)

 

So this problem is recent, @@OverRideCwalk's name appears instead of the Override annotation.

 

Consider this simple example:

public class Example {

    @[member='OverRideCwalk'] // This should be @ Override (no space)
    public String toString() {
        return "His username messes this up";
    }
}

 

 

Is your IDE replacing it and giving you an error if you don't? I've been staring at this for like 2 minutes, and I can't decipher what you're saying the problem is bro

Edited by Imateamcape
Posted (edited)

Is your IDE replacing it and giving you an error if you don't? I've been staring at this for like 2 minutes, and I can't decipher what you're saying the problem is bro

 

emote32342.png Yeah... my uh... IDE is doing that......

 

 

The problem is, when you try to put the annotation @ Override (without the space) inside of code tags, and then submit your post / edit. @ Override is automatically replaced with that user's name. See this reply in the scripting help section:

 

http://osbot.org/forum/topic/103825-cant-get-conditionalsleep-to-validate/?p=1159828

 

Note how the accepted solution by Khaleesi has a space between the @ and Override to prevent it from happening.

Edited by Explv
  • Like 1
Posted (edited)

It's because of the new mention which was added a few days ago. It's time to drop the java annotation system on this forum because we have to mention people Troll.png

 

PS: all your posts are notifying that user so if he is still using osbot, he will be spammed with notifications

Edited by Token
  • Like 1
Posted

It's because of the new mention which was added a few days ago. It's time to drop the java annotation system on this forum because we have to mention people Troll.png

 

PS: all your posts are notifying that user so if he is still using osbot, he will be spammed with notifications

 

He was last seen 2014, so I'm not too worried about spam.

 

Inb4 someone makes a new account called FunctionalInterface

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...