Record and report the time of the first call.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1494 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
|
||||
package com.samskivert.util;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import com.samskivert.Log;
|
||||
|
||||
/**
|
||||
@@ -28,7 +30,8 @@ public class RepeatCallTracker
|
||||
public boolean checkCall (String warning)
|
||||
{
|
||||
if (_firstCall == null) {
|
||||
_firstCall = new Exception("---- First call ----");
|
||||
_firstCall = new Exception(
|
||||
"---- First call (at " + new Date() + ") ----");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user