Activator.getContext().ungetService(ref[i]); return result;
if (result != null) { Activator.getContext().ungetService(ref[i]); return result; }
	private Runnable getSplashHandler() {		ServiceReference[] ref;		try {			ref = Activator.getContext().getServiceReferences(Runnable.class.getName(), "(name=splashscreen)"); //$NON-NLS-1$		} catch (InvalidSyntaxException e) {			return null;		}		if (ref == null)			return null;		// assumes the endInitializationHandler is available as a service		// see EclipseStarter.publishSplashScreen		for (int i = 0; i < ref.length; i++) {			Runnable result = (Runnable) Activator.getContext().getService(ref[i]);			Activator.getContext().ungetService(ref[i]); // immediately unget the service because we are not using it long			return result;		}		return null;	}