Add copyright header. Formatting cleanup. Ignore some generated files.

This commit is contained in:
Jeff Ames
2009-05-05 09:59:15 +00:00
parent 6ae88d129a
commit 8ea12ad6c0
9 changed files with 102 additions and 87 deletions

View File

@@ -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();
}
}
}

View File

@@ -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)
{