Skip to content

Commit

Permalink
(#171) Add @since on inner class & fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
andreoss committed Jun 25, 2020
1 parent 25ecdaa commit 30f7238
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/main/java/com/jcabi/http/mock/MkGrizzlyAdapter.java
Original file line number Diff line number Diff line change
Expand Up @@ -231,17 +231,21 @@ private static void fail(final GrizzlyResponse<?> response,

/**
* Answer with condition.
*
* @since 1.5
*/
@EqualsAndHashCode(of = {"answr", "condition"})
private static final class Conditional {
/**
* The MkAnswer.
*/
private final transient MkAnswer answr;

/**
* Condition for this answer.
*/
private final transient Matcher<MkQuery> condition;

/**
* The number of times the answer is expected to appear.
*/
Expand Down Expand Up @@ -303,13 +307,16 @@ private static AtomicInteger positiveAtomic(final int num) {

/**
* Query with answer.
*
* @since 1.5
*/
@EqualsAndHashCode(of = {"answr", "que"})
private static final class QueryWithAnswer {
/**
* The answer.
*/
private final transient MkAnswer answr;

/**
* The query.
*/
Expand Down

0 comments on commit 30f7238

Please sign in to comment.