aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ic/java_src
diff options
context:
space:
mode:
authorAnthony Ramine <[email protected]>2013-04-27 13:45:34 +0200
committerAnthony Ramine <[email protected]>2013-04-30 10:11:16 +0200
commitf405bdebb6b54ca6333d6df450c7d8a5c51c1df6 (patch)
tree6b1834a43d2deb4ea3dc29506dbb16611a9c8705 /lib/ic/java_src
parent3c95b1cfcc1b323d461eb3a92a1560dd0882294e (diff)
downloadotp-f405bdebb6b54ca6333d6df450c7d8a5c51c1df6.tar.gz
otp-f405bdebb6b54ca6333d6df450c7d8a5c51c1df6.tar.bz2
otp-f405bdebb6b54ca6333d6df450c7d8a5c51c1df6.zip
Fix two deprecation warnings in com.ericsson.otp.ic.Environment
Diffstat (limited to 'lib/ic/java_src')
-rw-r--r--lib/ic/java_src/com/ericsson/otp/ic/Environment.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ic/java_src/com/ericsson/otp/ic/Environment.java b/lib/ic/java_src/com/ericsson/otp/ic/Environment.java
index fff854a5f8..4b321fbce7 100644
--- a/lib/ic/java_src/com/ericsson/otp/ic/Environment.java
+++ b/lib/ic/java_src/com/ericsson/otp/ic/Environment.java
@@ -135,8 +135,8 @@ public class Environment {
if (connection == null)
connection = self.connect(peer);
- clientP = new com.ericsson.otp.erlang.OtpErlangPid(self); /* This is not perfect */
- send_ref = new com.ericsson.otp.erlang.OtpErlangRef(self);
+ clientP = self.createPid(); /* This is not perfect */
+ send_ref = self.createRef();
}