@@ -289,16 +289,16 @@ public static <T> org.hamcrest.Matcher<java.lang.Iterable<T>> hasItems(T... item
289289 }
290290
291291 /**
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
293293 * <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+ *
296296 * <p>If the specified operand is <code>null</code> then the created matcher will only match if
297297 * the examined object's <code>equals</code> method returns <code>true</code> when passed a
298298 * <code>null</code> (which would be a violation of the <code>equals</code> contract), unless the
299299 * examined object itself is <code>null</code>, in which case the matcher will return a positive
300300 * match.</p>
301- * <p/>
301+ *
302302 * <p>The created matcher provides a special behaviour when examining <code>Array</code>s, whereby
303303 * it will match if both the operand and the examined object are arrays of the same length and
304304 * 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
322322 }
323323
324324 /**
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>,
326326 * 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+ *
329329 * <p>The created matcher forces a relationship between specified type and the examined object, and should be
330330 * used when it is necessary to make generics conform, for example in the JMock clause
331331 * <code>with(any(Thing.class))</code></p>
@@ -337,10 +337,10 @@ public static <T> org.hamcrest.Matcher<T> any(java.lang.Class<T> type) {
337337 }
338338
339339 /**
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>,
341341 * 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+ *
344344 * <p>The created matcher assumes no relationship between specified type and the examined object.</p>
345345 * For example:
346346 * <pre>assertThat(new Canoe(), instanceOf(Paddlable.class));</pre>
0 commit comments