From e323a10e85042de9deacff7681ffe5207d7de8a4 Mon Sep 17 00:00:00 2001
From: Viuginov Nickolay <nickolay.viuginov@jetbrains.com>
Date: Tue, 24 Jul 2018 19:43:49 +0300
Subject: [PATCH] fixes according the review

IDEA-CR-35137
RUBY-22120
---
 .../com/intellij/xdebugger/attach/EnvironmentAwareHost.java | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/platform/xdebugger-impl/src/com/intellij/xdebugger/attach/EnvironmentAwareHost.java b/platform/xdebugger-impl/src/com/intellij/xdebugger/attach/EnvironmentAwareHost.java
index a128f1d33f20..5cf582b11a46 100644
--- a/platform/xdebugger-impl/src/com/intellij/xdebugger/attach/EnvironmentAwareHost.java
+++ b/platform/xdebugger-impl/src/com/intellij/xdebugger/attach/EnvironmentAwareHost.java
@@ -75,7 +75,11 @@ public abstract class EnvironmentAwareHost implements XAttachHost {
   @NotNull
   public abstract String getFileSystemHostId();
 
-  public boolean checkCredentials(@NotNull final Object credentialsObject) {
+  /**
+   * @param credentialsObject is a parametrization of a host
+   * @return whether the given credentials corresponds the same host
+   */
+  public boolean isSameHost(@NotNull final Object credentialsObject) {
     return false;
   }
 }
-- 
GitLab