mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
Update svn properties. Minor formatting cleanup.
This commit is contained in:
@@ -50,7 +50,6 @@ namespace OpenSim.Framework
|
||||
get { return m_new == m_old; }
|
||||
}
|
||||
|
||||
|
||||
public int Capacity
|
||||
{
|
||||
get { return m_Undos.Length - 1; }
|
||||
@@ -67,7 +66,6 @@ namespace OpenSim.Framework
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public void Push(T item)
|
||||
{
|
||||
if (IsFull)
|
||||
@@ -95,13 +93,11 @@ namespace OpenSim.Framework
|
||||
throw new InvalidOperationException("Cannot pop from emtpy stack");
|
||||
}
|
||||
|
||||
|
||||
public T Peek()
|
||||
{
|
||||
return m_Undos[m_new];
|
||||
}
|
||||
|
||||
|
||||
public void Clear()
|
||||
{
|
||||
if (Count > 0)
|
||||
@@ -115,4 +111,4 @@ namespace OpenSim.Framework
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user