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 | 3e419078289fe68e4629e1dde57384277394eef0 (patch) | |
| tree | 3df8c5fa65e9c24355add820865222e10a93dd33 /dotnet/Qpid.Common | |
| parent | 03a3e2742bdb91f82613cf04f9ab079fd4e24f7c (diff) | |
| download | qpid-python-3e419078289fe68e4629e1dde57384277394eef0.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/qpid@488830 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'dotnet/Qpid.Common')
| -rw-r--r-- | dotnet/Qpid.Common/Collections/LinkedHashtable.cs | 14 | ||||
| -rw-r--r-- | dotnet/Qpid.Common/Collections/SynchronousQueue.cs | 6 | ||||
| -rw-r--r-- | dotnet/Qpid.Common/Framing/AMQDataBlockDecoder.cs | 4 |
3 files changed, 13 insertions, 11 deletions
diff --git a/dotnet/Qpid.Common/Collections/LinkedHashtable.cs b/dotnet/Qpid.Common/Collections/LinkedHashtable.cs index 55364f1aa1..c08d4a9197 100644 --- a/dotnet/Qpid.Common/Collections/LinkedHashtable.cs +++ b/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/dotnet/Qpid.Common/Collections/SynchronousQueue.cs b/dotnet/Qpid.Common/Collections/SynchronousQueue.cs index a678a6c5fc..c559a37b44 100644 --- a/dotnet/Qpid.Common/Collections/SynchronousQueue.cs +++ b/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/dotnet/Qpid.Common/Framing/AMQDataBlockDecoder.cs b/dotnet/Qpid.Common/Framing/AMQDataBlockDecoder.cs index 30be63013a..2e373402b6 100644 --- a/dotnet/Qpid.Common/Framing/AMQDataBlockDecoder.cs +++ b/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; } |
