if (newServiceRanking > ranking) {
if (newServiceRanking > ranking)
	public Object addingService(ServiceReference reference) {		//check to see if our contentType is being registered by another service		Object prop = reference.getProperty(URLConstants.URL_CONTENT_MIMETYPE);		if (!(prop instanceof String[]))			return null;		String[] contentTypes = (String[]) prop;		for (int i = 0; i < contentTypes.length; i++) {			if (contentTypes[i].equals(contentType)) {				//If our contentType is registered by another service, check the service ranking and switch 				//URLStreamHandlers if nessecary.				int newServiceRanking = getRank(reference);				//int newServiceRanking = ((Integer)reference.getProperty(Constants.SERVICE_RANKING)).intValue();				if (newServiceRanking > ranking) {					setNewHandler(reference, newServiceRanking);				}				return (reference);			}		}		//we don't want to continue hearing events about a ContentHandler service not registered under our contentType		return (null);	}