private static synchronized Map<String, FileSystemProvider> buildProvidersMap() {
final Map<String, FileSystemProvider> result = new HashMap<String, FileSystemProvider>( installedProviders.size() + 1 );
for ( int i = 0; i < installedProviders.size(); i++ ) {
final FileSystemProvider provider = installedProviders.get( i );
if ( i == 0 ) {
provider.forceAsDefault();
result.put( "default", provider );
}
result.put( provider.getScheme(), provider );
}
return unmodifiableMap( result );