Skip to content

Commit 2f2da92

Browse files
authored
AmapExceptionPreface -> AmqpExceptionPreface (#864)
1 parent 968df8b commit 2f2da92

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Source/EasyNetQ/AmqpExceptions/AmpqExceptionGrammar.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ from text in Parse.CharExcept(',').Many().Text()
3939

4040
static readonly Parser<IEnumerable<IAmqpExceptionElement>> elements = element.ListDelimitedBy(',');
4141

42-
static readonly Parser<AmapExceptionPreface> preface =
42+
static readonly Parser<AmqpExceptionPreface> preface =
4343
from text in Parse.CharExcept(':').Many().Text()
4444
from colon in Parse.Char(':')
45-
select new AmapExceptionPreface(text);
45+
select new AmqpExceptionPreface(text);
4646

4747
static readonly Parser<AmqpException> exception =
4848
from p in preface

Source/EasyNetQ/AmqpExceptions/AmqpException.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ namespace EasyNetQ.AmqpExceptions
55
{
66
public class AmqpException
77
{
8-
public AmapExceptionPreface Preface { get; }
8+
public AmqpExceptionPreface Preface { get; }
99
public IList<IAmqpExceptionElement> Elements { get; }
1010

11-
public AmqpException(AmapExceptionPreface preface, IList<IAmqpExceptionElement> elements)
11+
public AmqpException(AmqpExceptionPreface preface, IList<IAmqpExceptionElement> elements)
1212
{
1313
Preface = preface;
1414
Elements = elements;
@@ -26,11 +26,11 @@ private int GetElement<T>() where T : AmqpExceptionIntegerValueElement
2626
public static ushort ConnectionClosed = 320;
2727
}
2828

29-
public class AmapExceptionPreface
29+
public class AmqpExceptionPreface
3030
{
3131
public string Text { get; }
3232

33-
public AmapExceptionPreface(string text)
33+
public AmqpExceptionPreface(string text)
3434
{
3535
Text = text;
3636
}

0 commit comments

Comments
 (0)