Примеры ошибок, обнаруженных с помощью диагностики V6079
V6079. Value of variable is checked after use. Potential logical error is present. Check lines: N1, N2.
ELKI
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++;
}
....
}