public class RepeatCallTracker extends Object
checkCall(java.lang.String) yourself.| Constructor and Description |
|---|
RepeatCallTracker() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkCall(String warning)
This method should be called when the code passes through the code
path that should be called only once.
|
void |
clear()
Resets this repeat call tracker.
|
public boolean checkCall(String warning)
warning - the warning message to issue prior to logging the
two stack traces.public void clear()
Copyright © 2015. All rights reserved.