Explv Posted August 2, 2016 Posted August 2, 2016 (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 August 2, 2016 by Explv 1
Team Cape Posted August 2, 2016 Posted August 2, 2016 (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 August 2, 2016 by Imateamcape
Explv Posted August 2, 2016 Author Posted August 2, 2016 (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 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 August 2, 2016 by Explv 1
Team Cape Posted August 2, 2016 Posted August 2, 2016 Yeah... my uh... IDE is doing that what do you mean it appears instead of the @override annotation? This is confusing me a lot lol
Explv Posted August 2, 2016 Author Posted August 2, 2016 what do you mean it appears instead of the @override annotation? This is confusing me a lot lol This thread is for the developers of the website to see, so don't worry about understanding it....
House Posted August 2, 2016 Posted August 2, 2016 This thread is for the developers of the website to see, so don't worry about understanding it.... I'm actually dying laughing atm
Team Cape Posted August 2, 2016 Posted August 2, 2016 (edited) Just testing @[member='OverRideCwalk'] Now i get you. If you'd made the edits that you'd just made before i would've understood though Edited August 2, 2016 by Imateamcape 1
Token Posted August 2, 2016 Posted August 2, 2016 (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 PS: all your posts are notifying that user so if he is still using osbot, he will be spammed with notifications Edited August 2, 2016 by Token 1
Explv Posted August 2, 2016 Author Posted August 2, 2016 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 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
Botre Posted August 2, 2016 Posted August 2, 2016 Lel rip annotations. Inb4 someone makes a new account called FunctionalInterface 1
Override Posted August 2, 2016 Posted August 2, 2016 (edited) I, for one, welcome the new use of @ Override, instead of @Override. Edited August 2, 2016 by Override
Explv Posted August 2, 2016 Author Posted August 2, 2016 I, for one, welcome the new use of @ Override, instead of @@Override. No 1