diff options
author | Steven Shaw <steshaw@apache.org> | 2006-12-19 22:14:19 +0000 |
---|---|---|
committer | Steven Shaw <steshaw@apache.org> | 2006-12-19 22:14:19 +0000 |
commit | c79aa72130e054e6549320c949c0323e94ac1a15 (patch) | |
tree | c59b526cd66915cd3760dfaacf15bb2809551183 /qpid/dotnet/Qpid.Common | |
parent | 14d59d823f551ec2423fae12925224e6f4eaadb6 (diff) | |
download | qpid-python-c79aa72130e054e6549320c949c0323e94ac1a15.tar.gz |
Added Qpid.Client.Transport.Socket.Blocking project to MonoDevelop files.
Fixed some compiler warnings.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@488830 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/dotnet/Qpid.Common')
-rw-r--r-- | qpid/dotnet/Qpid.Common/Collections/LinkedHashtable.cs | 14 | ||||
-rw-r--r-- | qpid/dotnet/Qpid.Common/Collections/SynchronousQueue.cs | 6 | ||||
-rw-r--r-- | qpid/dotnet/Qpid.Common/Framing/AMQDataBlockDecoder.cs | 4 |
3 files changed, 13 insertions, 11 deletions
diff --git a/qpid/dotnet/Qpid.Common/Collections/LinkedHashtable.cs b/qpid/dotnet/Qpid.Common/Collections/LinkedHashtable.cs index 55364f1aa1..c08d4a9197 100644 --- a/qpid/dotnet/Qpid.Common/Collections/LinkedHashtable.cs +++ b/qpid/dotnet/Qpid.Common/Collections/LinkedHashtable.cs @@ -191,13 +191,13 @@ namespace Qpid.Collections } } - private LinkedDictionaryEntry Tail - { - get - { - return _tail; - } - } +// private LinkedDictionaryEntry Tail +// { +// get +// { +// return _tail; +// } +// } private class LHTEnumerator : IDictionaryEnumerator { diff --git a/qpid/dotnet/Qpid.Common/Collections/SynchronousQueue.cs b/qpid/dotnet/Qpid.Common/Collections/SynchronousQueue.cs index a678a6c5fc..c559a37b44 100644 --- a/qpid/dotnet/Qpid.Common/Collections/SynchronousQueue.cs +++ b/qpid/dotnet/Qpid.Common/Collections/SynchronousQueue.cs @@ -28,17 +28,17 @@ namespace Qpid.Collections /// <summary> /// Lock protecting both wait queues /// </summary> - private readonly object _qlock = new object(); +// private readonly object _qlock = new object(); /// <summary> /// Queue holding waiting puts /// </summary> - private readonly WaitQueue _waitingProducers; +// private readonly WaitQueue _waitingProducers; /// <summary> /// Queue holding waiting takes /// </summary> - private readonly WaitQueue _waitingConsumers; +// private readonly WaitQueue _waitingConsumers; /** * Queue to hold waiting puts/takes; specialized to Fifo/Lifo below. diff --git a/qpid/dotnet/Qpid.Common/Framing/AMQDataBlockDecoder.cs b/qpid/dotnet/Qpid.Common/Framing/AMQDataBlockDecoder.cs index 30be63013a..2e373402b6 100644 --- a/qpid/dotnet/Qpid.Common/Framing/AMQDataBlockDecoder.cs +++ b/qpid/dotnet/Qpid.Common/Framing/AMQDataBlockDecoder.cs @@ -130,7 +130,9 @@ namespace Qpid.Framing frame.PopulateFromBuffer(input, channel, bodySize, bodyFactory); byte marker = input.get(); - //assert marker == 0xCE; + if (marker != 0xCE) { + throw new FormatException("marker is not 0xCE"); + } return frame; } |