CODE FRAGMENT:
import org.eclipse.jdt.annotation.Nullable;
...
if (newEndpoint != null) {
...
}
--
You received this message because you are subscribed to the Google Groups "SonarLint" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarlint+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarlint/28c9c4ce-92cc-4b77-975e-3a34ca023338%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On May 23, 2018, at 12:43 PM, Jeslie Chermak <jeslie....@gmail.com> wrote:
Michael,I just downloaded SonarLint into Eclipse last week. I have no SonarQube. The annotations come from package org.eclipse.jdt.annotation. I’m in package ai.rideos.robot.routing. I’ve created a Java package, sonar.bug, which shows this bug and also another (Confusion over @NonNullByDefault) that I’d filed yesterday. Here are the two necessary files:
<package-info.java><SquidS2589.java>THESE ARE SIMPLIFICATIONS of the actual code (extendPath() is normally in another class in the package) which has most of the logic stripped while maintaining the Sonar bug.