util cleanups

This commit is contained in:
zzz
2011-10-25 21:34:32 +00:00
parent 1a2bd800d9
commit 05cd98f9b4
2 changed files with 10 additions and 10 deletions

View File

@ -30,7 +30,7 @@ import java.util.zip.ZipFile;
* General helper methods for messing with files
*
* These are static methods that do NOT convert arguments
* to absolute paths for a particular context and directtory.
* to absolute paths for a particular context and directory.
*
* Callers should ALWAYS provide absolute paths as arguments,
* and should NEVER assume files are in the current working directory.

View File

@ -10,17 +10,17 @@ package net.i2p.util;
*/
/**
* Frisbee
* Keep track of a log entry, unformatted.
*
*/
class LogRecord {
private long _date;
private Class _source;
private String _name;
private String _threadName;
private int _priority;
private String _message;
private Throwable _throwable;
private final long _date;
private final Class _source;
private final String _name;
private final String _threadName;
private final int _priority;
private final String _message;
private final Throwable _throwable;
public LogRecord(Class src, String name, String threadName, int priority, String msg, Throwable t) {
_date = Clock.getInstance().now();
@ -59,4 +59,4 @@ class LogRecord {
public Throwable getThrowable() {
return _throwable;
}
}
}