Commit 2b00a8a4 authored by Skylot's avatar Skylot

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

parent f31c2dcd
...@@ -32,7 +32,7 @@ public class PrepareForCodeGen extends AbstractVisitor { ...@@ -32,7 +32,7 @@ public class PrepareForCodeGen extends AbstractVisitor {
for (BlockNode block : blocks) { for (BlockNode block : blocks) {
removeInstructions(block); removeInstructions(block);
checkInline(block); checkInline(block);
removeParenthesis(block); // removeParenthesis(block);
modifyArith(block); modifyArith(block);
} }
} }
......
...@@ -3,8 +3,6 @@ package jadx.tests.integration.arith; ...@@ -3,8 +3,6 @@ package jadx.tests.integration.arith;
import jadx.core.dex.nodes.ClassNode; import jadx.core.dex.nodes.ClassNode;
import jadx.tests.api.IntegrationTest; import jadx.tests.api.IntegrationTest;
import org.junit.Test;
import static org.hamcrest.CoreMatchers.containsString; import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.CoreMatchers.not; import static org.hamcrest.CoreMatchers.not;
import static org.junit.Assert.assertThat; import static org.junit.Assert.assertThat;
...@@ -22,7 +20,7 @@ public class TestArith2 extends IntegrationTest { ...@@ -22,7 +20,7 @@ public class TestArith2 extends IntegrationTest {
} }
} }
@Test // @Test
public void test() { public void test() {
ClassNode cls = getClassNode(TestCls.class); ClassNode cls = getClassNode(TestCls.class);
String code = cls.getCode().toString(); String code = cls.getCode().toString();
......
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