Simplify Demorgans intention, don't keep unnecessary parentheses, add tests
authorBas Leijdekkers <basleijdekkers@gmail.com>
Tue, 31 Jan 2012 16:06:18 +0000 (17:06 +0100)
committerBas Leijdekkers <basleijdekkers@gmail.com>
Tue, 31 Jan 2012 16:06:18 +0000 (17:06 +0100)
commit55ee5dcb50a60888a45bcee5475a839aead4aacc
treeebba557906427e41cfcb8e4de2d7fb0b72922d80
parent7638e45ab3c48eaa3f05cdfd980d072c33f1a2f6
Simplify Demorgans intention, don't keep unnecessary parentheses, add tests
plugins/IntentionPowerPak/src/com/siyeh/ipp/base/Intention.java
plugins/IntentionPowerPak/src/com/siyeh/ipp/bool/DemorgansIntention.java
plugins/IntentionPowerPak/src/com/siyeh/ipp/psiutils/BoolUtils.java
plugins/IntentionPowerPak/test/com/siyeh/ipp/bool/demorgans/NeedsMoreParentheses.java [new file with mode: 0644]
plugins/IntentionPowerPak/test/com/siyeh/ipp/bool/demorgans/NeedsMoreParentheses_after.java [new file with mode: 0644]
plugins/IntentionPowerPak/test/com/siyeh/ipp/bool/demorgans/NeedsParentheses.java [new file with mode: 0644]
plugins/IntentionPowerPak/test/com/siyeh/ipp/bool/demorgans/NeedsParentheses_after.java [new file with mode: 0644]
plugins/IntentionPowerPak/test/com/siyeh/ipp/bool/demorgans/NotTooManyParentheses.java [new file with mode: 0644]
plugins/IntentionPowerPak/test/com/siyeh/ipp/bool/demorgans/NotTooManyParentheses_after.java [new file with mode: 0644]
plugins/IntentionPowerPak/testSrc/com/siyeh/ipp/bool/DemorgansIntentionTest.java [new file with mode: 0644]