Clean up TranslationWorkspaceManagerImpl and TranslationWorkspaceImpl
Fix test failure
rhbz912583 replace project type parameter with string on project version
remove unnecessary condition and cast
fix: openJDK can't infer type