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!"


5 comments
Comment actions Permalink

It's a bug. I'll look into it.

--Dave Griffith

0
Comment actions Permalink

Thanks! Shall I file a request for it? :)
-


Maxim Shafirov
http://www.jetbrains.com
"Develop with pleasure!"


0
Comment actions Permalink

Don't bother. I just promoted a fix.

--Dave Griffith

0
Comment actions Permalink

cool!

-


Maxim Shafirov
http://www.jetbrains.com
"Develop with pleasure!"

Don't bother. I just promoted a fix.

--Dave Griffith



0
Comment actions Permalink

IntelliJ reporting bugs back to users? That's just spinning me out. :)

0

Please sign in to leave a comment.