Remove Redundant Type Casts in Platform Runtime

If the expression's type already matches the type it is being casted to,
then the casting operation can be removed. Note, such casting operations
are detected and ignored by the javac complier, too. Thus, removing the
casting expression just eliminates some redundant code.
jSparrow Clean Up

Change-Id: I61a640c25f456d7d6fb1c1e63b2877a24463663c
Signed-off-by: Ardit Ymeri <ardit.ymeri@splendit.at>
diff --git a/bundles/org.eclipse.core.runtime/src/org/eclipse/core/internal/runtime/InternalPlatform.java b/bundles/org.eclipse.core.runtime/src/org/eclipse/core/internal/runtime/InternalPlatform.java
index 75dbb12..77716ea 100644
--- a/bundles/org.eclipse.core.runtime/src/org/eclipse/core/internal/runtime/InternalPlatform.java
+++ b/bundles/org.eclipse.core.runtime/src/org/eclipse/core/internal/runtime/InternalPlatform.java
@@ -272,15 +272,15 @@
 	 * Lazy initialize ContentTypeManager - it can only be used after the registry is up and running
 	 */
 	public IContentTypeManager getContentTypeManager() {
-		return contentTracker == null ? null : (IContentTypeManager) contentTracker.getService();
+		return contentTracker == null ? null : contentTracker.getService();
 	}
 
 	public EnvironmentInfo getEnvironmentInfoService() {
-		return environmentTracker == null ? null : (EnvironmentInfo) environmentTracker.getService();
+		return environmentTracker == null ? null : environmentTracker.getService();
 	}
 
 	public FrameworkLog getFrameworkLog() {
-		return logTracker == null ? null : (FrameworkLog) logTracker.getService();
+		return logTracker == null ? null : logTracker.getService();
 	}
 
 	public Bundle[] getFragments(Bundle bundle) {
@@ -408,7 +408,7 @@
 
 
 	public IPreferencesService getPreferencesService() {
-		return preferencesTracker == null ? null : (IPreferencesService) preferencesTracker.getService();
+		return preferencesTracker == null ? null : preferencesTracker.getService();
 	}
 
 	/*