return ((Integer) reference.getProperty(Constants.SERVICE_RANKING)).intValue();
Object property = reference.getProperty(Constants.SERVICE_RANKING); return (property instanceof Integer) ? ((Integer) property).intValue() : 0;
	private int getRank(ServiceReference reference) {		return ((Integer) reference.getProperty(Constants.SERVICE_RANKING)).intValue();	}