Skip to content

Commit e6cecab

Browse files
author
sponge
committed
2009-04-17 sponge
* fixed setIP, just be sure to distclean before building :-) * more lint taken care of as well.
1 parent c3f9e20 commit e6cecab

File tree

4 files changed

+11
-7
lines changed

4 files changed

+11
-7
lines changed

history.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2009-04-17 sponge
2+
* fixed setIP, just be sure to distclean before building :-)
3+
* more lint taken care of as well.
4+
15
2009-04-17 sponge
26
* setIP wants to be a static method in the class, but it produces
37
warnings about it being static from other code.

router/java/src/net/i2p/router/RouterVersion.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
public class RouterVersion {
1818
public final static String ID = "$Revision: 1.548 $ $Date: 2008-06-07 23:00:00 $";
1919
public final static String VERSION = CoreVersion.VERSION;
20-
public final static long BUILD = 20;
20+
public final static long BUILD = 21;
2121
public static void main(String args[]) {
2222
System.out.println("I2P Router version: " + VERSION + "-" + BUILD);
2323
System.out.println("Router ID: " + RouterVersion.ID);

router/java/src/net/i2p/router/transport/TransportImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ public void markWasUnreachable(Hash peer, boolean yes) {
505505
_log.warn(this.getStyle() + " setting wasUnreachable to " + yes + " for " + peer);
506506
}
507507

508-
public static void setIP(Hash peer, byte[] ip) {
508+
public /* static */ void setIP(Hash peer, byte[] ip) {
509509
_IPMap.put(peer, ip);
510510
}
511511

router/java/src/net/i2p/router/transport/udp/EstablishmentManager.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@ public class EstablishmentManager {
3737
private UDPTransport _transport;
3838
private PacketBuilder _builder;
3939
/** map of RemoteHostId to InboundEstablishState */
40-
private Map _inboundStates;
40+
private final Map _inboundStates;
4141
/** map of RemoteHostId to OutboundEstablishState */
42-
private Map _outboundStates;
42+
private final Map _outboundStates;
4343
/** map of RemoteHostId to List of OutNetMessage for messages exceeding capacity */
44-
private Map _queuedOutbound;
44+
private final Map _queuedOutbound;
4545
/** map of nonce (Long) to OutboundEstablishState */
46-
private Map _liveIntroductions;
46+
private final Map _liveIntroductions;
4747
private boolean _alive;
48-
private Object _activityLock;
48+
private final Object _activityLock;
4949
private int _activity;
5050

5151
private static final int DEFAULT_MAX_CONCURRENT_ESTABLISH = 10;

0 commit comments

Comments
 (0)