comparison graal/com.oracle.max.criutils/src/com/oracle/max/criutils/TTY.java @ 5711:4d7175cf3526

enabled Eclipse/JDT javadoc checking and fixed resulting warnings
author Doug Simon <doug.simon@oracle.com>
date Thu, 28 Jun 2012 11:11:12 +0200
parents e4e02131c58b
children
comparison
equal deleted inserted replaced
5710:8d31a849ca97 5711:4d7175cf3526
40 private LogStream previous; 40 private LogStream previous;
41 private final Thread thread = Thread.currentThread(); 41 private final Thread thread = Thread.currentThread();
42 42
43 /** 43 /**
44 * Creates an object that will suppress {@link TTY} for the current thread if the given filter does not 44 * Creates an object that will suppress {@link TTY} for the current thread if the given filter does not
45 * {@linkplain #matches(String, Object) match} the given object. To revert the suppression state to how it was 45 * match the given object. To revert the suppression state to how it was
46 * before this call, the {@link #remove()} method must be called on the suppression object. 46 * before this call, the {@link #remove()} method must be called on the suppression object.
47 * 47 *
48 * @param filter the pattern for matching. If {@code null}, then the match is successful. If it starts with "~", 48 * @param filter the pattern for matching. If {@code null}, then the match is successful. If it starts with "~",
49 * then a regular expression {@linkplain Pattern#matches(String, CharSequence) match} is performed 49 * then a regular expression {@linkplain Pattern#matches(String, CharSequence) match} is performed
50 * where the regular expression is specified by {@code filter} without the "~" prefix. Otherwise, a 50 * where the regular expression is specified by {@code filter} without the "~" prefix. Otherwise, a