Skip to content

Commit c22eeac

Browse files
author
Timo Mueller
committed
Fixed accidential double init of variable
1 parent 61d053f commit c22eeac

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

java/ql/src/experimental/Security/CWE/CWE-665/CorrectRmiEnvironmentInitialisation.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
public class CorrectRmiInitialisation {
22
public void initAndStartRmiServer(int port, String hostname, boolean local) {
3-
Map<String, Object> env = new HashMap<>();
4-
53
MBeanServerForwarder authzProxy = null;
64

75
env.put("jmx.remote.x.daemon", "true");

0 commit comments

Comments
 (0)