code: public static void removeTemporaryType(int type) {
  		Integer typeInteger = type;
  		if (DEFAULT_TEMPORARY_HISTORY_TYPES.contains(typeInteger)) {
  			return;
  		}
  		synchronized (TEMPORARY_HISTORY_TYPES) {
  			TEMPORARY_HISTORY_TYPES.remove(typeInteger);
  		}
  	}
docs: Removes the given {@code type} from the set of temporary types.
  <p>
  Attempting to remove a default temporary type has no effect.
  
  @since 2.5.0
  @param type the history type that will be removed
  @see #DEFAULT_TEMPORARY_HISTORY_TYPES
  @see #addTemporaryType(int)
  @see #getTemporaryTypes()