CR-IC-5617 - mark old method as deprecated

This commit is contained in:
Michael Golubev
2014-07-01 16:18:46 +02:00
parent a549b93a6d
commit 366a5c995a
@@ -21,6 +21,9 @@ public abstract class ServerRuntimeInstance<D extends DeploymentConfiguration> {
return getDeploymentName(source);
}
/**
* @deprecated use {@link #getDeploymentName(com.intellij.remoteServer.configuration.deployment.DeploymentSource, D configuration)} instead
*/
@NotNull
public String getDeploymentName(@NotNull DeploymentSource source) {
return source.getPresentableName();