performance: do not rewrite the whole file

This commit is contained in:
Alexey Kudravtsev
2013-12-26 12:55:33 +04:00
parent f3bf9d08b7
commit 56354fd643
5 changed files with 44 additions and 33 deletions
@@ -1,8 +1,8 @@
<root>
<item name='p.TestDeannotation java.lang.String get()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='p.TestDeannotation1 java.lang.String get(java.lang.String) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='p.TestDeannotation java.lang.String get()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='p.TestDeannotation1 java.lang.String get(java.lang.String) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
</root>
@@ -1,10 +1,10 @@
<root>
<item name='suppressed.ExistingExternalName java.lang.String foo()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='suppressed.SecondSuppression void second()'>
<annotation name='java.lang.SuppressWarnings'>
<val val="{DoesntMatterWhat}"/>
</annotation>
</item>
<item name='suppressed.ExistingExternalName java.lang.String foo()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='suppressed.SecondSuppression void second()'>
<annotation name='java.lang.SuppressWarnings'>
<val val="{DoesntMatterWhat}"/>
</annotation>
</item>
</root>
@@ -1,7 +1,7 @@
<root>
<item name='multiRoot.Test java.lang.String get(java.lang.String) 0'>
<annotation name='org.jetbrains.annotations.NotNull'>
<val name="value" val="&quot;foo&quot;"/>
</annotation>
</item>
<item name='multiRoot.Test java.lang.String get(java.lang.String) 0'>
<annotation name='org.jetbrains.annotations.NotNull'>
<val name="value" val="&quot;foo&quot;"/>
</annotation>
</item>
</root>
@@ -1,7 +1,7 @@
<root>
<item name='multiRoot.Test java.lang.String get(java.lang.String)'>
<annotation name='org.jetbrains.annotations.Nullable'>
<val name="value" val="&quot;foo&quot;"/>
</annotation>
</item>
<item name='multiRoot.Test java.lang.String get(java.lang.String)'>
<annotation name='org.jetbrains.annotations.Nullable'>
<val name="value" val="&quot;foo&quot;"/>
</annotation>
</item>
</root>