Add missing @Overrides
DefaultStatusServiceTest: clean up style
DirectoryIndexer: remove unneeded else nesting
Remove unnecessary casts
ScriptEngineTest: remove unneeded import
Fix javadoc warnings