SSU: Remove excessive exception creation (ticket #665)

This commit is contained in:
zzz
2012-07-21 13:04:50 +00:00
parent ebe55aba61
commit 39d4e1be72
3 changed files with 8 additions and 3 deletions

View File

@@ -1,3 +1,7 @@
2012-07-21 zzz
* i2psnark: Remove dark theme
* SSU: Remove exception creation (ticket #665)
2012-07-19 str4d
* Home page: replaced itoopie with an eepsite icon (c/o dr|z3d) for eepsites
with no icon of their own.

View File

@@ -18,10 +18,10 @@ public class RouterVersion {
/** deprecated */
public final static String ID = "Monotone";
public final static String VERSION = CoreVersion.VERSION;
public final static long BUILD = 25;
public final static long BUILD = 26;
/** for example "-test" */
public final static String EXTRA = "";
public final static String EXTRA = "-rc";
public final static String FULL_VERSION = VERSION + "-" + BUILD + EXTRA;
public static void main(String args[]) {
System.out.println("I2P Router version: " + FULL_VERSION);

View File

@@ -138,7 +138,8 @@ class OutboundMessageState {
if (_messageBuf != null && !_released) {
_cache.release(_messageBuf);
_released = true;
_releasedBy = new Exception ("Released on " + new Date() + " by:");
if (_log.shouldLog(Log.WARN))
_releasedBy = new Exception ("Released on " + new Date() + " by:");
}
//_messageBuf = null;
}