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


0
5 comments
Avatar
Permanently deleted user

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

--Dave Griffith

0
Avatar
Permanently deleted user

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


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


0
Avatar
Permanently deleted user

Don't bother. I just promoted a fix.

--Dave Griffith

0
Avatar
Permanently deleted user

cool!

-


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

Don't bother. I just promoted a fix.

--Dave Griffith



0
Avatar
Permanently deleted user

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

0

Please sign in to leave a comment.