Commit 1a8ef3c3 by sikang

update

parent c3ddbaf1
......@@ -174,7 +174,9 @@ class JavaGarble:
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()
#随机取余觉得是否插入乱码
if random.randint(1,10) % random.randint(1,3) == 0:
line += self.__insert_code()
fout.write(line)
......
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