Fix some warnings flagged by Eclipse.

static member access
overriding varargs with []

Closes #1411