From 05cd98f9b4b45f45919bfdd7aba135886a66f49b Mon Sep 17 00:00:00 2001 From: zzz <zzz@mail.i2p> Date: Tue, 25 Oct 2011 21:34:32 +0000 Subject: [PATCH] util cleanups --- core/java/src/net/i2p/util/FileUtil.java | 2 +- core/java/src/net/i2p/util/LogRecord.java | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/core/java/src/net/i2p/util/FileUtil.java b/core/java/src/net/i2p/util/FileUtil.java index 4231eb05de..c7c2553829 100644 --- a/core/java/src/net/i2p/util/FileUtil.java +++ b/core/java/src/net/i2p/util/FileUtil.java @@ -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. diff --git a/core/java/src/net/i2p/util/LogRecord.java b/core/java/src/net/i2p/util/LogRecord.java index fa1df45197..d9a4f6441a 100644 --- a/core/java/src/net/i2p/util/LogRecord.java +++ b/core/java/src/net/i2p/util/LogRecord.java @@ -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; } -} \ No newline at end of file +} -- GitLab