From 9043e9e1b37fc0e541890a7dfa0f7ccb315ad66d Mon Sep 17 00:00:00 2001 From: Dmitry Avdeev Date: Thu, 17 May 2012 15:33:09 +0400 Subject: [PATCH] @NotNulls --- plugins/git4idea/tests/git4idea/test/GitMockProject.groovy | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plugins/git4idea/tests/git4idea/test/GitMockProject.groovy b/plugins/git4idea/tests/git4idea/test/GitMockProject.groovy index 2a042bdae16d..3405ade94154 100644 --- a/plugins/git4idea/tests/git4idea/test/GitMockProject.groovy +++ b/plugins/git4idea/tests/git4idea/test/GitMockProject.groovy @@ -121,15 +121,17 @@ class GitMockProject implements Project { } @Override - boolean hasComponent(Class interfaceClass) { + boolean hasComponent(@NotNull Class interfaceClass) { throw new UnsupportedOperationException() } + @NotNull @Override def T[] getComponents(Class baseClass) { throw new UnsupportedOperationException() } + @NotNull @Override PicoContainer getPicoContainer() { throw new UnsupportedOperationException() @@ -150,6 +152,7 @@ class GitMockProject implements Project { throw new UnsupportedOperationException() } + @NotNull @Override Condition getDisposed() { throw new UnsupportedOperationException()