GitRemote @NotNull
authorKirill Likhodedov <kirill.likhodedov@jetbrains.com>
Tue, 19 Apr 2011 14:23:22 +0000 (18:23 +0400)
committerKirill Likhodedov <kirill.likhodedov@jetbrains.com>
Wed, 20 Apr 2011 12:01:35 +0000 (16:01 +0400)
plugins/git4idea/src/git4idea/GitRemote.java

index a4734dd291c4dbfc7c09c0f18f25494d20d9e1df..86d1266b22639515da1b8f5469debf09640833c7 100644 (file)
@@ -220,7 +220,7 @@ public final class GitRemote {
    * @throws VcsException if there is a problem with running git
    */
   @Nullable
-  public static GitRemote find(Project project, VirtualFile root, String name) throws VcsException {
+  public static GitRemote find(@NotNull Project project, @NotNull VirtualFile root, @NotNull String name) throws VcsException {
     GitSimpleHandler handler = new GitSimpleHandler(project, root, GitCommand.REMOTE);
     handler.setNoSSH(true);
     handler.setSilent(true);