[freenet-dev] [freenet-cvs] r16205 - trunk/freenet/src/freenet/node

Matthew Toseland toad at amphibian.dyndns.org
Mon Dec 3 12:17:11 UTC 2007


That's one of nextgens' netbeans auto-indents, are you sure it's real? If it 
is, we may have a lot more similar problems...

On Sunday 02 December 2007 14:16, nextgens at freenetproject.org wrote:
> Author: nextgens
> Date: 2007-12-02 14:16:59 +0000 (Sun, 02 Dec 2007)
> New Revision: 16205
> 
> Modified:
>    trunk/freenet/src/freenet/node/PeerManager.java
>    trunk/freenet/src/freenet/node/PeerNode.java
> Log:
> Fix a variable shadowing in PeerManager and a typo preventing version 
informations from beeing parsed.
> 
> Modified: trunk/freenet/src/freenet/node/PeerNode.java
> ===================================================================
> --- trunk/freenet/src/freenet/node/PeerNode.java	2007-12-02 11:40:07 UTC 
(rev 16204)
> +++ trunk/freenet/src/freenet/node/PeerNode.java	2007-12-02 14:16:59 UTC 
(rev 16205)
> @@ -1556,7 +1556,7 @@
>  			node.peers.addConnectedPeer(this);
>  			onConnect();
>  		}
> -
> +		
>  		setPeerNodeStatus(now);
>  		return true;
>  	}
> @@ -1798,18 +1798,16 @@
>  			throw new FSParseException(err);
>  		}
>  		String newVersion = fs.get("version");
> -		if(newVersion == null)
> +		if(newVersion == null) {
>  			// Version may be ommitted for an ARK.
> -
>  			if(!forARK)
>  				throw new FSParseException("No version");
> -		else {
> +		} else {
>  			if(!newVersion.equals(version))
>  				changedAnything = true;
>  			version = newVersion;
>  			Version.seenVersion(newVersion);
>  		}
> -
>  		lastGoodVersion = fs.get("lastGoodVersion");
>  
>  		updateShouldDisconnectNow();
> 
> _______________________________________________
> cvs mailing list
> cvs at freenetproject.org
> http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://emu.freenetproject.org/pipermail/devl/attachments/20071203/06d61553/attachment.pgp 


More information about the Devl mailing list