Skip to content

Commit a1db5f7

Browse files
author
joeretro
committed
JavaDoc
1 parent 5146880 commit a1db5f7

2 files changed

Lines changed: 14 additions & 2 deletions

File tree

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,20 @@
11
package org.hamcrest;
22

3+
/**
4+
* A description of a Matcher. A Matcher will describe itself to a description which can later be used for reporting.
5+
*
6+
* @see Matcher#describeTo(Description)
7+
*/
38
public interface Description {
9+
10+
/**
11+
* Append some plain text to the description.
12+
*/
413
Description append(String text);
14+
15+
/**
16+
* Append an arbitary value to the description.
17+
*/
518
Description append(Object object);
19+
620
}

‎src/api/org/hamcrest/Matcher.java‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
*/
33
package org.hamcrest;
44

5-
// TODO: Update JavaDoc to make better use of 'matcher' word.
6-
75
/**
86
* A matcher over acceptable values. A matcher should be able to describe itself to give feedback when it fails.
97
*/

0 commit comments

Comments
 (0)