Skip to content

Commit b3f691a

Browse files
Made parameter names match base class declarations.
1 parent f754ee8 commit b3f691a

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

src/NHapi.Base/Parser/EncodingCharacters.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,9 +209,9 @@ public virtual object Clone()
209209
return new EncodingCharacters(this);
210210
}
211211

212-
public override bool Equals(object o)
212+
public override bool Equals(object obj)
213213
{
214-
if (o is EncodingCharacters other)
214+
if (obj is EncodingCharacters other)
215215
{
216216
return FieldSeparator == other.FieldSeparator &&
217217
ComponentSeparator == other.ComponentSeparator &&

src/NHapi.Base/Parser/MessageIterator.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -422,14 +422,14 @@ public int Rep
422422
/// <summary>
423423
/// Override equals.
424424
/// </summary>
425-
/// <param name="o"></param>
425+
/// <param name="obj"></param>
426426
/// <returns></returns>
427-
public override bool Equals(object o)
427+
public override bool Equals(object obj)
428428
{
429429
var equals = false;
430-
if (o != null && o is Index)
430+
if (obj != null && obj is Index)
431431
{
432-
var i = (Index)o;
432+
var i = (Index)obj;
433433
if (i.Rep == Rep && i.Name.Equals(Name))
434434
{
435435
equals = true;

src/NHapi.Base/Util/MessageIterator.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -662,14 +662,14 @@ public Index Index
662662
/// <summary>
663663
/// Override equals operator.
664664
/// </summary>
665-
/// <param name="o">Object o.</param>
665+
/// <param name="obj">Object obj.</param>
666666
/// <returns>true if objects are equal.</returns>
667-
public override bool Equals(object o)
667+
public override bool Equals(object obj)
668668
{
669669
var equals = false;
670-
if (o != null && o is Position)
670+
if (obj != null && obj is Position)
671671
{
672-
var p = (Position)o;
672+
var p = (Position)obj;
673673
if (p.Parent.Equals(Parent) && p.Index.Equals(Index))
674674
{
675675
equals = true;

0 commit comments

Comments
 (0)