author | Jaroslav Tulach <jtulach@netbeans.org> |
Sat, 14 Jun 2008 09:58:11 +0200 | |
changeset 154 | 0fd5e9c500b9 |
parent 153 | b5cbb797ec0a |
permissions | -rw-r--r-- |
jtulach@107 | 1 |
package org.apidesign.deadlock.logs; |
jtulach@107 | 2 |
|
jtulach@107 | 3 |
import java.util.logging.Logger; |
jtulach@107 | 4 |
|
jtulach@107 | 5 |
|
jtulach@107 | 6 |
public abstract class OverrideMePlease { |
jtulach@107 | 7 |
boolean whatIsDefault; |
jtulach@107 | 8 |
|
jtulach@107 | 9 |
public OverrideMePlease() { |
jtulach@107 | 10 |
whatIsDefault = overideMePlease(); |
jtulach@107 | 11 |
} |
jtulach@107 | 12 |
// BEGIN: logs.override |
jtulach@107 | 13 |
protected boolean overideMePlease() { |
jtulach@154 | 14 |
Logger.getLogger(OverrideMePlease.class.getName()).warning( |
jtulach@154 | 15 |
"subclasses are supposed to override overideMePlease() method!" |
jtulach@154 | 16 |
); |
jtulach@107 | 17 |
// some default |
jtulach@107 | 18 |
return true; |
jtulach@107 | 19 |
} |
jtulach@107 | 20 |
// END: logs.override |
jtulach@107 | 21 |
} |