Fix some warnings flagged by Eclipse.

- static member access
- overriding varargs with []