Skip to content

Commit

Permalink
(jcabi#171) Remove trailing semicolon
Browse files Browse the repository at this point in the history
  • Loading branch information
andreoss committed Jun 25, 2020
1 parent 30f7238 commit f1c74da
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,5 @@ public void describeTo(final Description description) {
@Override
public boolean matchesSafely(final MkAnswer item) {
return this.matcher.matches(item.bodyBytes());
};

}
}
3 changes: 1 addition & 2 deletions src/main/java/com/jcabi/http/mock/MkAnswerBodyMatcher.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,5 @@ public void describeTo(final Description description) {
@Override
public boolean matchesSafely(final MkAnswer item) {
return this.matcher.matches(item.body());
};

}
}
4 changes: 2 additions & 2 deletions src/main/java/com/jcabi/http/mock/MkAnswerHeaderMatcher.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
* @since 1.5
*/
@ToString
@EqualsAndHashCode(callSuper = false, of = { "header", "matcher" })
@EqualsAndHashCode(callSuper = false, of = {"header", "matcher"})
final class MkAnswerHeaderMatcher extends TypeSafeMatcher<MkAnswer> {
/**
* The header to match.
Expand Down Expand Up @@ -77,5 +77,5 @@ public void describeTo(final Description description) {
public boolean matchesSafely(final MkAnswer item) {
return item.headers().containsKey(this.header)
&& this.matcher.matches(item.headers().get(this.header));
};
}
}
2 changes: 1 addition & 1 deletion src/main/java/com/jcabi/http/mock/MkQueryBodyMatcher.java
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,6 @@ public void describeTo(final Description description) {
@Override
public boolean matchesSafely(final MkQuery item) {
return this.matcher.matches(item.body());
};
}

}
4 changes: 2 additions & 2 deletions src/main/java/com/jcabi/http/mock/MkQueryHeaderMatcher.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
* @since 1.5
*/
@ToString
@EqualsAndHashCode(callSuper = false, of = { "header", "matcher" })
@EqualsAndHashCode(callSuper = false, of = {"header", "matcher"})
final class MkQueryHeaderMatcher extends TypeSafeMatcher<MkQuery> {

/**
Expand Down Expand Up @@ -78,6 +78,6 @@ public void describeTo(final Description description) {
public boolean matchesSafely(final MkQuery item) {
return item.headers().containsKey(this.header)
&& this.matcher.matches(item.headers().get(this.header));
};
}

}

0 comments on commit f1c74da

Please sign in to comment.