diff options
| author | Vlad Dumitrescu <[email protected]> | 2014-09-10 10:54:14 +0200 | 
|---|---|---|
| committer | Vlad Dumitrescu <[email protected]> | 2014-09-11 21:24:20 +0200 | 
| commit | 790728fc740af676d6fc6671355af0f5ffcfb530 (patch) | |
| tree | ca96d39756cc325022a256ee0719fd6c24fb124d /lib/jinterface/java_src/com | |
| parent | 98bdec3eb067d0feccd23cac61316d42bf1e915e (diff) | |
| download | otp-790728fc740af676d6fc6671355af0f5ffcfb530.tar.gz otp-790728fc740af676d6fc6671355af0f5ffcfb530.tar.bz2 otp-790728fc740af676d6fc6671355af0f5ffcfb530.zip | |
rename OtpNode.Acceptor.port to acceptorPort
was colliding with OtpLocalNode.port
Diffstat (limited to 'lib/jinterface/java_src/com')
| -rw-r--r-- | lib/jinterface/java_src/com/ericsson/otp/erlang/OtpNode.java | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpNode.java b/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpNode.java index 69b9a7e0d9..c2596496de 100644 --- a/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpNode.java +++ b/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpNode.java @@ -683,13 +683,13 @@ public class OtpNode extends OtpLocalNode {       */      public class Acceptor extends Thread {  	private final ServerSocket sock; -	private final int port; +	private final int acceptorPort;  	private volatile boolean done = false;  	Acceptor(final int port) throws IOException {  	    sock = new ServerSocket(port); -	    this.port = sock.getLocalPort(); -	    OtpNode.this.port = this.port; +	    this.acceptorPort = sock.getLocalPort(); +	    OtpNode.this.port = this.acceptorPort;  	    setDaemon(true);  	    setName("acceptor"); @@ -740,7 +740,7 @@ public class OtpNode extends OtpLocalNode {  	}  	public int port() { -	    return port; +	    return acceptorPort;  	}  	@Override | 
