minor cleanups

This commit is contained in:
zzz
2010-01-24 02:16:36 +00:00
parent f1c50b7fc3
commit fdfbab850a
3 changed files with 8 additions and 8 deletions

View File

@ -414,10 +414,10 @@ public class SummaryHelper extends HelperBase {
} }
/** compare translated nicknames - put "shared clients" first in the sort */ /** compare translated nicknames - put "shared clients" first in the sort */
private class AlphaComparator implements Comparator { private class AlphaComparator implements Comparator<Destination> {
public int compare(Object lhs, Object rhs) { public int compare(Destination lhs, Destination rhs) {
String lname = getName((Destination)lhs); String lname = getName(lhs);
String rname = getName((Destination)rhs); String rname = getName(rhs);
String xsc = _("shared clients"); String xsc = _("shared clients");
if (lname.equals(xsc)) if (lname.equals(xsc))
return -1; return -1;

View File

@ -714,7 +714,7 @@
<arg value="i2pupdate.sud" /> <arg value="i2pupdate.sud" />
</java> </java>
<!-- will this use the monotonerc file in the current workspace? --> <!-- will this use the monotonerc file in the current workspace? -->
<echo message="Checking out fresh copy into ../i2p-${release-number} for tarballing:" /> <echo message="Checking out fresh copy into ../i2p-${release.number} for tarballing:" />
<delete dir="../i2p-${release.number}" /> <delete dir="../i2p-${release.number}" />
<exec executable="mtn" failonerror="true"> <exec executable="mtn" failonerror="true">
<arg value="co" /> <arg value="co" />
@ -768,7 +768,7 @@
<arg value="i2pupdate_${release.number}.zip" /> <arg value="i2pupdate_${release.number}.zip" />
<arg value="i2pupdate.sud" /> <arg value="i2pupdate.sud" />
</exec> </exec>
<echo message="Don't forget to mtn tag h: i2p-${release.number}" /> <echo message="Don't forget to mtn tag w: i2p-${release.number}" />
<echo message="... and mtn cert t:i2p-${release.number} branch i2p.i2p.release" /> <echo message="... and mtn cert t:i2p-${release.number} branch i2p.i2p.release" />
</target> </target>
</project> </project>

View File

@ -25,7 +25,7 @@ abstract class HandlerImpl implements I2CPMessageHandler {
public HandlerImpl(I2PAppContext context, int type) { public HandlerImpl(I2PAppContext context, int type) {
_context = context; _context = context;
_type = type; _type = type;
_log = new Log(getClass()); _log = context.logManager().getLog(getClass());
} }
public int getType() { public int getType() {