Skip to content

Commit

Permalink
Fixed issue with #178 and #14 fix because it wouldn't compile under .…
Browse files Browse the repository at this point in the history
…NET 3.5.
  • Loading branch information
NightOwl888 committed Jul 1, 2013
1 parent 2a31cc1 commit 482db64
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public override string HttpMethod
{
const StringComparison comparison = StringComparison.OrdinalIgnoreCase;
bool replaceMethod = this.node != null &&
!String.IsNullOrWhiteSpace(this.node.HttpMethod) &&
!String.IsNullOrEmpty(this.node.HttpMethod) &&
!String.Equals(this.node.HttpMethod, "*", comparison);
return replaceMethod
? this.node.HttpMethod.Split(',')[0]
Expand Down

0 comments on commit 482db64

Please sign in to comment.