mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
use array.Empty<byte>
This commit is contained in:
@@ -596,7 +596,7 @@ namespace OpenSim.Services.FSAssetService
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
return new Byte[0];
|
||||
return Array.Empty<byte>();
|
||||
}
|
||||
}
|
||||
else if (File.Exists(diskFile))
|
||||
@@ -611,7 +611,7 @@ namespace OpenSim.Services.FSAssetService
|
||||
{
|
||||
}
|
||||
}
|
||||
return new Byte[0];
|
||||
return Array.Empty<byte>();
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user