Cleanup: NotNull/Nullable

GitOrigin-RevId: b8e892f32ea84c2115973155dba7127b892cc36e
This commit is contained in:
Egor Zhdan
2019-04-04 18:16:43 +03:00
committed by intellij-monorepo-bot
parent ce8e10e6c4
commit 39d2d77155
12734 changed files with 160314 additions and 488001 deletions

View File

@@ -37,7 +37,7 @@ public class Example {
@NotNull Class x = <warning descr="'null' is assigned to a variable that is annotated with @NotNull">ClassUtils.primitiveToWrapper(null)</warning>;
}
void writeBytes(@Nullable byte[] bytes, FilterOutputStream stream) throws IOException {
stream.write(<warning descr="Argument 'bytes' might be null">bytes</warning>);
void writeBytes(@Nullable byte[] bytes) throws IOException {
new FilterOutputStream(null).write(<warning descr="Argument 'bytes' might be null">bytes</warning>);
}
}