提交 2b00a8a4 编写于 作者: S Skylot

core: disable parenthesis remove (break code in most cases)

上级 f31c2dcd
......@@ -32,7 +32,7 @@ public class PrepareForCodeGen extends AbstractVisitor {
for (BlockNode block : blocks) {
removeInstructions(block);
checkInline(block);
removeParenthesis(block);
// removeParenthesis(block);
modifyArith(block);
}
}
......
......@@ -3,8 +3,6 @@ package jadx.tests.integration.arith;
import jadx.core.dex.nodes.ClassNode;
import jadx.tests.api.IntegrationTest;
import org.junit.Test;
import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.CoreMatchers.not;
import static org.junit.Assert.assertThat;
......@@ -22,7 +20,7 @@ public class TestArith2 extends IntegrationTest {
}
}
@Test
// @Test
public void test() {
ClassNode cls = getClassNode(TestCls.class);
String code = cls.getCode().toString();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册