mirror of
https://github.com/opensim/opensim.git
synced 2026-05-14 18:55:39 +08:00
use array.Empty<byte>
This commit is contained in:
@@ -619,7 +619,7 @@ namespace OpenSim.Tests.Common
|
||||
|
||||
public byte[] GetThrottlesPacked(float multiplier)
|
||||
{
|
||||
return new byte[0];
|
||||
return Array.Empty<byte>();
|
||||
}
|
||||
|
||||
public virtual void SendAnimations(UUID[] animations, int[] seqs, UUID sourceAgentId, UUID[] objectIDs)
|
||||
|
||||
@@ -221,7 +221,7 @@ namespace OpenSim.Tests.Common
|
||||
|
||||
public byte[] EndEventToBytes(osUTF8 sb)
|
||||
{
|
||||
return new byte[0];
|
||||
return Array.Empty<byte>();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user