code: public static void fixOverriddenExports( Instance instance ) {
  
  		if( ! instance.overriddenExports.isEmpty()) {
  			Map<String,String> componentExports = ComponentHelpers.findAllExportedVariables( instance.getComponent());
  
  			Iterator<Map.Entry<String,String>> iter = instance.overriddenExports.entrySet().iterator();
  			while( iter.hasNext()) {
  				// Does export exist in component... with the same value as in overridden exports?
  				// If so, remove from overridden exports (because it is not overridden at all !)
  				Map.Entry<String,String> entry = iter.next();
  				String value = componentExports.get( entry.getKey());
  				if( Objects.equals( value, entry.getValue()))
  					iter.remove();
  			}
  		}
  	}
docs: Fixes overridden exports.
  <p>
  The given instance is supposed to have a correct component, but may have
  duplicates in overridden exports (e.g. the same exports as in the component, left
  unchanged). This method will fix it.
  </p>
  @param instance the instance to fix