Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 502e38e

Browse files
committed
J2S Jmol working -- unneeded items set to unused
1 parent 8ac977b commit 502e38e

File tree

6 files changed

+1
-191
lines changed

6 files changed

+1
-191
lines changed

sources/net.sf.j2s.core/src/j2s/common/J2SDependencyCompiler.java

Lines changed: 0 additions & 182 deletions
This file was deleted.

sources/net.sf.j2s.core/src/j2s/jmol/CorePlugin.java

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
package j2s.jmol;
22

3-
import net.sf.j2s.core.hotspot.InnerHotspotServer;
4-
53
import org.eclipse.core.runtime.Plugin;
64
import org.osgi.framework.BundleContext;
75

@@ -10,7 +8,7 @@
108
*/
119
public class CorePlugin extends Plugin {
1210

13-
public static final String VERSION = "J2S legacy 4.2_20231108";
11+
public static final String VERSION = "J2S Jmol legacy 4.2_20231108";
1412
//The shared instance.
1513
private static CorePlugin plugin;
1614

@@ -27,9 +25,6 @@ public CorePlugin() {
2725
public void start(BundleContext context) throws Exception {
2826
System.out.println(VERSION + " started");
2927
super.start(context);
30-
if (!InnerHotspotServer.isServerStarted()) {
31-
InnerHotspotServer.getSingletonServer().startServer();
32-
}
3328
}
3429

3530
/**
@@ -39,9 +34,6 @@ public void stop(BundleContext context) throws Exception {
3934
System.out.println("J2S 4.2 stopped");
4035
super.stop(context);
4136
plugin = null;
42-
if (InnerHotspotServer.isServerStarted()) {
43-
InnerHotspotServer.getSingletonServer().stopServer();
44-
}
4537
}
4638

4739
/**

0 commit comments

Comments
 (0)