You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public final class Test {
private static final String TEXT = "text";
public void foo() {
this.bar(this.TEXT);
}
private static void bar(final String txt) {
}
}
Static field TEXT and static method bar should be accessed in static way, but qulice reports no error when they are accessed using this keyword.
Java compiler (OpenJDK 1.8.0_191) reports a warning but the code compiles smoothly.
The text was updated successfully, but these errors were encountered:
@golszewski86/z this project will fix the problem faster if you donate a few dollars to it; just click here and pay via Stripe, it's very fast, convenient and appreciated; thanks a lot!
Consider following code:
Static field
TEXT
and static methodbar
should be accessed in static way, but qulice reports no error when they are accessed usingthis
keyword.Java compiler (OpenJDK 1.8.0_191) reports a warning but the code compiles smoothly.
The text was updated successfully, but these errors were encountered: