Skip to content

Commit 615d275

Browse files
authored
fix
1 parent 03390b6 commit 615d275

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/mods/Hileb/shotaasm/impl/compiler/Compiler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public static byte[] compileSingle(String canonicalName, String text, Writer err
6666
@SuppressWarnings("unchecked")
6767
public CompileError compile() {
6868
JavaCompiler compiler = ToolProvider.getSystemJavaCompiler();
69-
if (compiler == null) reture new CompileError("Could not found JavaCompiler, might not run in jdk.");
69+
if (compiler == null) return new CompileError("Could not found JavaCompiler, might not run in jdk.");
7070
else {
7171
try(StandardJavaFileManager standardJavaFileManager = compiler.getStandardFileManager(null, null, StandardCharsets.UTF_8)) {
7272
VirtualFileManager fileManager = new VirtualFileManager(standardJavaFileManager, this.javaFileObjectMap);

0 commit comments

Comments
 (0)