Skip to content

Commit 74db83b

Browse files
committed
Fix quality flaw: remove output in test
1 parent 95d3587 commit 74db83b

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

java-squid/src/test/java/org/sonar/java/cfg/LiveVariablesTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ public void anonymous_class_liveness() {
112112

113113
cfg = buildCFG("boolean foo(int a) { if(true) { new A().field = 2;System.out.println(''); } new Object() { String toString(){return a = 2;} }; }");
114114
liveVariables = LiveVariables.analyze(cfg);
115-
cfg.debugTo(System.out);
116115
assertThat(liveVariables.getOut(cfg.reversedBlocks().get(0))).isEmpty();
117116
assertThat(liveVariables.getOut(cfg.reversedBlocks().get(2))).isEmpty();
118117
assertThat(liveVariables.getOut(cfg.reversedBlocks().get(3))).isEmpty();

0 commit comments

Comments
 (0)