V6079. Value of variable is checked after use. Potential logical error is present. Check lines: N1, N2.
V6079 Value of the 'splitpoint' variable is checked after use. Potential logical error is present. KernelDensityFittingTest.java(97), KernelDensityFittingTest.java(97)
public final void testFitDoubleArray() throws IOException {
....
int splitpoint = 0;
while(fulldata[splitpoint] < splitval && splitpoint < fulldata.length) {
splitpoint++;
}
....
}
This is exactly the case when a reply to a comment turned into a small blog post. The power of ...