private static void applyOverrides(){
  InputStream stream=getContentTypesPropertiesStream();
  if (stream == null) {
    return;
  }
  try {
    try {
      Properties overrides=new Properties();
      overrides.load(stream);
      for (      Map.Entry<Object,Object> entry : overrides.entrySet()) {
        String extension=(String)entry.getKey();
        String mimeType=(String)entry.getValue();
        add(mimeType,extension);
      }
    }
  finally {
      stream.close();
    }
  }
 catch (  IOException ignored) {
  }
}

private static void applyOverrides ( ) { InputStream stream = getContentTypesPropertiesStream ( ) ; if ( stream == null ) { return ; } try { try { Properties overrides = new Properties ( ) ; overrides . load ( stream ) ; for ( Map . Entry < Object , Object > entry : overrides . entrySet ( ) ) { String extension = ( String ) entry . getKey ( ) ; String mimeType = ( String ) entry . getValue ( ) ; add ( mimeType , extension ) ; } } finally { stream . close ( ) ; } } catch ( IOException ignored ) { } }
this isn ' t what the ri does . the ri doesn ' t have hard - coded defaults , so supplying your own " content . types . user . table " means you don ' t get any of the built - ins , and the built - ins come from " $ java_home / lib / content - types . properties " .
