@@ -289,16 +289,16 @@ public static <T> org.hamcrest.Matcher<java.lang.Iterable<T>> hasItems(T... item
289
289
}
290
290
291
291
/**
292
- * Creates a matcher that matches when the examined object is logically equal to the specified
292
+ * <p> Creates a matcher that matches when the examined object is logically equal to the specified
293
293
* <code>operand</code>, as determined by calling the {@link java.lang.Object#equals} method on
294
- * the <b>examined</b> object.
295
- * <p/>
294
+ * the <b>examined</b> object.</p>
295
+ *
296
296
* <p>If the specified operand is <code>null</code> then the created matcher will only match if
297
297
* the examined object's <code>equals</code> method returns <code>true</code> when passed a
298
298
* <code>null</code> (which would be a violation of the <code>equals</code> contract), unless the
299
299
* examined object itself is <code>null</code>, in which case the matcher will return a positive
300
300
* match.</p>
301
- * <p/>
301
+ *
302
302
* <p>The created matcher provides a special behaviour when examining <code>Array</code>s, whereby
303
303
* it will match if both the operand and the examined object are arrays of the same length and
304
304
* contain items that are equal to each other (according to the above rules) <b>in the same
@@ -322,10 +322,10 @@ public static org.hamcrest.Matcher<java.lang.Object> equalToObject(java.lang.Obj
322
322
}
323
323
324
324
/**
325
- * Creates a matcher that matches when the examined object is an instance of the specified <code>type</code>,
325
+ * <p> Creates a matcher that matches when the examined object is an instance of the specified <code>type</code>,
326
326
* as determined by calling the {@link java.lang.Class#isInstance(Object)} method on that type, passing the
327
- * the examined object.
328
- * <p/>
327
+ * the examined object.</p>
328
+ *
329
329
* <p>The created matcher forces a relationship between specified type and the examined object, and should be
330
330
* used when it is necessary to make generics conform, for example in the JMock clause
331
331
* <code>with(any(Thing.class))</code></p>
@@ -337,10 +337,10 @@ public static <T> org.hamcrest.Matcher<T> any(java.lang.Class<T> type) {
337
337
}
338
338
339
339
/**
340
- * Creates a matcher that matches when the examined object is an instance of the specified <code>type</code>,
340
+ * <p> Creates a matcher that matches when the examined object is an instance of the specified <code>type</code>,
341
341
* as determined by calling the {@link java.lang.Class#isInstance(Object)} method on that type, passing the
342
- * the examined object.
343
- * <p/>
342
+ * the examined object.</p>
343
+ *
344
344
* <p>The created matcher assumes no relationship between specified type and the examined object.</p>
345
345
* For example:
346
346
* <pre>assertThat(new Canoe(), instanceOf(Paddlable.class));</pre>
0 commit comments