Commit c3ddbaf1 by sikang

bug fix

parent 835cc550
......@@ -171,7 +171,7 @@ class JavaGarble:
ignore_parts[curly_braces] = curly_braces
if curly_braces >= 1 and curly_braces not in ignore_parts.values():
if "return" in line:
if "return" in line or "throw" in line:
curly_braces = -10000
elif ";\n" in line and len(line.replace(" ","")) > 10 and "//" not in line:
line += self.__insert_code()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment