mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 10:15:33 +08:00
Add copyright header. Formatting cleanup. Ignore some generated files.
This commit is contained in:
@@ -55,7 +55,7 @@ namespace OpenSim.Framework
|
||||
{
|
||||
m_creatorId = value;
|
||||
UUID creatorIdAsUuid;
|
||||
|
||||
|
||||
// For now, all IDs are UUIDs
|
||||
UUID.TryParse(m_creatorId, out creatorIdAsUuid);
|
||||
CreatorIdAsUuid = creatorIdAsUuid;
|
||||
@@ -63,7 +63,7 @@ namespace OpenSim.Framework
|
||||
}
|
||||
|
||||
private string m_creatorId = String.Empty;
|
||||
|
||||
|
||||
/// <value>
|
||||
/// The creator of this item expressed as a UUID
|
||||
/// </value>
|
||||
@@ -105,7 +105,7 @@ namespace OpenSim.Framework
|
||||
///
|
||||
/// </value>
|
||||
public uint EveryOnePermissions;
|
||||
|
||||
|
||||
/// <value>
|
||||
///
|
||||
/// </value>
|
||||
@@ -150,10 +150,10 @@ namespace OpenSim.Framework
|
||||
///
|
||||
/// </value>
|
||||
public int CreationDate = (int)(DateTime.UtcNow - new DateTime(1970, 1, 1)).TotalSeconds;
|
||||
|
||||
public object Clone()
|
||||
{
|
||||
return MemberwiseClone();
|
||||
}
|
||||
|
||||
public object Clone()
|
||||
{
|
||||
return MemberwiseClone();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -210,7 +210,7 @@ namespace OpenSim.Framework
|
||||
|
||||
public static T GetDataBlock<T>() where T: new()
|
||||
{
|
||||
lock(DataBlocks)
|
||||
lock (DataBlocks)
|
||||
{
|
||||
if (DataBlocks.ContainsKey(typeof(T)) && DataBlocks[typeof(T)].Count > 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user