cleanup: notnull

GitOrigin-RevId: f607e979f0a4af927325fe05a40fb289a9f5a3ac
This commit is contained in:
Alexey Kudravtsev
2024-02-20 12:54:37 +01:00
committed by intellij-monorepo-bot
parent b005a0baec
commit 96f3c41b14
2 changed files with 4 additions and 4 deletions

View File

@@ -456,12 +456,12 @@ public class EmptyXmlTag implements XmlTag {
}
@Override
public <T> T getCopyableUserData(Key<T> key) {
public <T> T getCopyableUserData(@NotNull Key<T> key) {
return null;
}
@Override
public <T> void putCopyableUserData(Key<T> key, @Nullable T value) {
public <T> void putCopyableUserData(@NotNull Key<T> key, @Nullable T value) {
}

View File

@@ -327,12 +327,12 @@ public class DomReferenceInjectorTest extends DomHardCoreTestCase {
}
@Override
public <T> T getCopyableUserData(Key<T> key) {
public <T> T getCopyableUserData(@NotNull Key<T> key) {
throw new UnsupportedOperationException();
}
@Override
public <T> void putCopyableUserData(Key<T> key, T value) {
public <T> void putCopyableUserData(@NotNull Key<T> key, T value) {
throw new UnsupportedOperationException();
}