Fixed bug on deannotating: when annotation tag removed, parent is also removed if the latter has no children. Added test.

This commit is contained in:
Evgeny Gerashchenko
2012-09-06 20:46:00 +04:00
parent 9c20a65d0e
commit 37ceccb1eb
4 changed files with 14 additions and 2 deletions
@@ -0,0 +1,5 @@
<root>
<item name='p.TestDeannotation java.lang.String get()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
</root>
@@ -0,0 +1,5 @@
<root>
<item name='p.TestDeannotation1 java.lang.String get(java.lang.String) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
</root>