diff options
Diffstat (limited to 'OpenSim/Region/ExtensionsScriptModule/Engines/JVMEngine/JavaEngine.cs')
-rw-r--r-- | OpenSim/Region/ExtensionsScriptModule/Engines/JVMEngine/JavaEngine.cs | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/OpenSim/Region/ExtensionsScriptModule/Engines/JVMEngine/JavaEngine.cs b/OpenSim/Region/ExtensionsScriptModule/Engines/JVMEngine/JavaEngine.cs index 28b9b33..82a32dd 100644 --- a/OpenSim/Region/ExtensionsScriptModule/Engines/JVMEngine/JavaEngine.cs +++ b/OpenSim/Region/ExtensionsScriptModule/Engines/JVMEngine/JavaEngine.cs | |||
@@ -1,28 +1,28 @@ | |||
1 | using System; | 1 | using System; |
2 | using System.Collections.Generic; | 2 | using System.Collections.Generic; |
3 | using System.Text; | 3 | using System.Text; |
4 | 4 | ||
5 | using OpenSim.Region.ExtensionsScriptModule; | 5 | using OpenSim.Region.ExtensionsScriptModule; |
6 | 6 | ||
7 | namespace OpenSim.Region.ExtensionsScriptModule.JVMEngine | 7 | namespace OpenSim.Region.ExtensionsScriptModule.JVMEngine |
8 | { | 8 | { |
9 | public class JavaEngine : IScriptCompiler | 9 | public class JavaEngine : IScriptCompiler |
10 | { | 10 | { |
11 | public string FileExt() | 11 | public string FileExt() |
12 | { | 12 | { |
13 | return ".java"; | 13 | return ".java"; |
14 | } | 14 | } |
15 | 15 | ||
16 | public Dictionary<string, IScript> compile(string filename) | 16 | public Dictionary<string, IScript> compile(string filename) |
17 | { | 17 | { |
18 | JVMScript script = new JVMScript(); | 18 | JVMScript script = new JVMScript(); |
19 | Dictionary<string, IScript> returns = new Dictionary<string, IScript>(); | 19 | Dictionary<string, IScript> returns = new Dictionary<string, IScript>(); |
20 | 20 | ||
21 | script.LoadScript(filename); | 21 | script.LoadScript(filename); |
22 | 22 | ||
23 | returns.Add(filename, script); | 23 | returns.Add(filename, script); |
24 | 24 | ||
25 | return returns; | 25 | return returns; |
26 | } | 26 | } |
27 | } | 27 | } |
28 | } | 28 | } |