/*  Copyright (c) 2000-2006 hamcrest.org
 */
package org.hamcrest;

/**
 * BaseClass for all Matcher implementations.
 *
 * @see Matcher
 */
public abstract class BaseMatcher<T> implements Matcher<T> {

    /**
     * @see Matcher#_dont_implement_Matcher___instead_extend_BaseMatcher_()
     */
    public final void _dont_implement_Matcher___instead_extend_BaseMatcher_() {
        // See Matcher interface for an explanation of this method.
    }

    public void describeMismatch(Object item, Description description) {
    	description.appendText("was ").appendValue(item);
    }

    @Override
    public String toString() {
        return StringDescription.toString(this);
    }
}

@@ -288,16 +288,32 @@
      */%0A
+    @Deprecated%0A
     publ

Fix for Issue 106 : deprecation warning when writing custom matchers