diff options
author | nickl- <github@jigsoft.co.za> | 2017-10-28 06:28:05 +0200 |
---|---|---|
committer | nickl- <github@jigsoft.co.za> | 2017-10-28 08:59:37 +0200 |
commit | 668b3c8eb3147308764004d090c33287e6dae9bd (patch) | |
tree | e78e31d01656775d9c1d6a41fc36266f732ceeda /src/main/javassist/tools | |
parent | 0fd7647d3e91a2de9d612aa0ae391d2a9319632d (diff) | |
download | javassist-668b3c8eb3147308764004d090c33287e6dae9bd.tar.gz javassist-668b3c8eb3147308764004d090c33287e6dae9bd.zip |
Suppress deprecation Applet.
Diffstat (limited to 'src/main/javassist/tools')
-rw-r--r-- | src/main/javassist/tools/rmi/ObjectImporter.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/javassist/tools/rmi/ObjectImporter.java b/src/main/javassist/tools/rmi/ObjectImporter.java index 84502056..7650f5b9 100644 --- a/src/main/javassist/tools/rmi/ObjectImporter.java +++ b/src/main/javassist/tools/rmi/ObjectImporter.java @@ -18,7 +18,6 @@ package javassist.tools.rmi; import java.io.*; import java.net.*; -import java.applet.Applet; import java.lang.reflect.*; /** @@ -90,7 +89,8 @@ public class ObjectImporter implements java.io.Serializable { * * @param applet the applet loaded from the <code>Webserver</code>. */ - public ObjectImporter(Applet applet) { + public ObjectImporter(@SuppressWarnings("deprecation") java.applet.Applet applet) { + @SuppressWarnings("deprecation") URL codebase = applet.getCodeBase(); orgServername = servername = codebase.getHost(); orgPort = port = codebase.getPort(); |