Whitespace fixes

This commit is contained in:
Marc Hernandez 2021-06-19 00:04:20 -07:00
parent 1f495bfd0e
commit 2acdb68828

View File

@ -249,10 +249,10 @@ namespace res
if( wr.TryGetTarget( out var v ) ) if( wr.TryGetTarget( out var v ) )
return v; return v;
log.info( $"{filename} was in cache, but its been dropped, reloading." ); lib.Log.info( $"{filename} was in cache, but its been dropped, reloading." );
} }
log.warn( $"Block Loading {filename}." ); lib.Log.warn( $"Block Loading {filename}." );
var newV = actualLoad<T>( filename ); var newV = actualLoad<T>( filename );
@ -270,7 +270,7 @@ namespace res
if( wr.TryGetTarget( out var v ) ) if( wr.TryGetTarget( out var v ) )
return v; return v;
log.error( $"{filename} was in cache, but its been dropped, reloading." ); lib.Log.error( $"{filename} was in cache, but its been dropped, reloading." );
} }
} }
@ -293,19 +293,19 @@ namespace res
//Done loading //Done loading
if( !ImmutableInterlocked.TryRemove( ref s_loading, filename, out var oldEvt ) ) if( !ImmutableInterlocked.TryRemove( ref s_loading, filename, out var oldEvt ) )
{ {
log.error( $"Error removing loading event for {filename}" ); lib.Log.error( $"Error removing loading event for {filename}" );
} }
if( alreadyAdded ) if( alreadyAdded )
{ {
log.error( $"Key {filename} already existed, though it shouldnt." ); lib.Log.error( $"Key {filename} already existed, though it shouldnt." );
} }
return v; return v;
} }
else else
{ {
log.error( $"Loader could not be found for type {typeof( T )}" ); lib.Log.error( $"Loader could not be found for type {typeof( T )}" );
return ResCache<T>.s_default; return ResCache<T>.s_default;
} }