mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-26 19:06:24 +07:00
attach JDK Annotations automatically on JDK creation to fix IDEA-211771
GitOrigin-RevId: 975cffd646b68abb31a61eb6ac50de264c428cdc
This commit is contained in:
committed by
intellij-monorepo-bot
parent
d5e8ba9e13
commit
5910039653
@@ -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) throws IOException {
|
||||
new FilterOutputStream(null).write(<warning descr="Argument 'bytes' might be null">bytes</warning>);
|
||||
void writeBytes(@Nullable byte[] bytes, FilterOutputStream stream) throws IOException {
|
||||
stream.write(<warning descr="Argument 'bytes' might be null">bytes</warning>);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user