Jump to content

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


Explv

Recommended Posts

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
Link to comment
Share on other sites

 

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
Link to comment
Share on other sites

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
Link to comment
Share on other sites

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
Link to comment
Share on other sites

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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