Commit d26dcb6e by sikang

bug fix

parent 301fb419
......@@ -152,7 +152,7 @@ class JavaGarble:
line += "%s\n" % fun
# 定位1个缩进开头的类方法
if (line.startswith(" ") and not line.startswith(" ")) and ("){\n" in line or ") {\n" in line):
if line.startswith(" ") and not line.startswith(" ") and ("){\n" in line or ") {\n" in line):
curly_braces = line.count("{")
curly_braces -= line.count("}")
......
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