fix Eclipse warnings: add @override, remove redundant type args