Skip to content
Permalink
Browse files
Cleans up some missed commented out code and removes some warnings se…
…en during compilation on Mono 2.8
  • Loading branch information
Timothy A. Bish committed Nov 5, 2010
1 parent 65be62f commit def63c43af683a25b15ef7cacce224b9c92d801e
Showing 3 changed files with 0 additions and 35 deletions.
@@ -501,12 +501,6 @@ public bool Iterate()
/// message if it is available if timeout > 0 then it blocks up to timeout
/// amount of time. Expired messages will consumed by this method.
/// </summary>
/// <param name="timeout">
/// A <see cref="System.TimeSpan"/>
/// </param>
/// <returns>
/// A <see cref="MessageDispatch"/>
/// </returns>
private MessageDispatch Dequeue(TimeSpan timeout)
{
DateTime deadline = DateTime.Now;
@@ -155,8 +155,6 @@ internal void Run()
{
// Make sure we notify any waiting threads that thread
// has terminated.
//lock(this.mutex)
//{
Monitor.Enter(this.mutex);
this.terminated = true;
Monitor.Exit(this.mutex);
@@ -80,9 +80,6 @@ public static String HostName
/// <summary>
/// Generate a Unique Id
/// </summary>
/// <returns>
/// A <see cref="String"/>
/// </returns>
public String GenerateId()
{
lock(UNIQUE_STUB)
@@ -94,9 +91,6 @@ public String GenerateId()
/// <summary>
/// Generate a unique ID - that is friendly for a URL or file system
/// </summary>
/// <returns>
/// A <see cref="String"/>
/// </returns>
public String GenerateSanitizedId()
{
String result = GenerateId();
@@ -109,12 +103,6 @@ public String GenerateSanitizedId()
/// <summary>
/// From a generated id - return the seed (i.e. minus the count)
/// </summary>
/// <param name="id">
/// A <see cref="String"/>
/// </param>
/// <returns>
/// A <see cref="String"/>
/// </returns>
public static String GetSeedFromId(String id)
{
String result = id;
@@ -134,12 +122,6 @@ public static String GetSeedFromId(String id)
/// <summary>
/// From a generated id - return the generator count
/// </summary>
/// <param name="id">
/// A <see cref="String"/>
/// </param>
/// <returns>
/// A <see cref="System.Int64"/>
/// </returns>
public static long GetSequenceFromId(String id)
{
long result = -1;
@@ -159,15 +141,6 @@ public static long GetSequenceFromId(String id)
/// <summary>
/// Does a proper compare on the ids
/// </summary>
/// <param name="id1">
/// A <see cref="String"/>
/// </param>
/// <param name="id2">
/// A <see cref="String"/>
/// </param>
/// <returns>
/// A <see cref="System.Int32"/>
/// </returns>
public static int Compare(String id1, String id2)
{
int result = -1;

0 comments on commit def63c4

Please sign in to comment.