Mismatched read/write of array. False positive? Or OK?
public class TestEmptyArrays {
private static final long[] EMPTY_ARRAY = new long[0];
public long[] getArray() {
return EMPTY_ARRAY;
}
}
-
Maxim Shafirov
http://www.jetbrains.com
"Develop with pleasure!"
Please sign in to leave a comment.
It's a bug. I'll look into it.
--Dave Griffith
Thanks! Shall I file a request for it? :)
-
Maxim Shafirov
http://www.jetbrains.com
"Develop with pleasure!"
Don't bother. I just promoted a fix.
--Dave Griffith
cool!
-
Maxim Shafirov
http://www.jetbrains.com
"Develop with pleasure!"
IntelliJ reporting bugs back to users? That's just spinning me out. :)