Fixed wrong annotations for android.os.Parcel

Parcel.readString() and Parcel.readStrongBinder() were wrongly annotated to return NotNull. In fact they both can return null and this is often used in Android development.
This commit is contained in:
Aleksandro Eterverda
2013-09-25 00:20:00 +04:00
parent da1325f5cc
commit b924fbbf85
@@ -200,9 +200,6 @@
<item name='android.os.AsyncTask android.os.AsyncTask.Status getStatus()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.os.Parcel android.os.IBinder readStrongBinder()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.os.StrictMode.VmPolicy.Builder android.os.StrictMode.VmPolicy.Builder penaltyDeath()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
@@ -449,9 +446,6 @@
<item name='android.os.StrictMode.ThreadPolicy.Builder android.os.StrictMode.ThreadPolicy.Builder detectNetwork()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.os.Parcel java.lang.String readString()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.os.Bundle java.util.Set&lt;java.lang.String&gt; keySet()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>