mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-21 22:11:40 +07:00
Cleanup: NotNull/Nullable
GitOrigin-RevId: b8e892f32ea84c2115973155dba7127b892cc36e
This commit is contained in:
committed by
intellij-monorepo-bot
parent
ce8e10e6c4
commit
39d2d77155
@@ -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>);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user