Skip to content

Commit

Permalink
ZSTD-5228 Problem with detecting local zend server
Browse files Browse the repository at this point in the history
dariusz-michura committed Sep 10, 2015
1 parent 8cf0d39 commit 0f4b86e
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -173,6 +173,7 @@ protected IStatus run(IProgressMonitor monitor) {
NotificationManager.showWarningWithHelp(Messages.LocalZendServerStartup_NotFoundTitle,
Messages.LocalZendServerStartup_CouldNotObtainAllProperties, IHelpContextIds.ZEND_SERVER,
5000, MESSAGE_ID);
return Status.CANCEL_STATUS;
}

monitor.subTask(Messages.LocalZendServerStartup_DetectingDebuggerSettings);
Original file line number Diff line number Diff line change
@@ -398,8 +398,7 @@ public synchronized String applyKeyToLocalhost(String key, String secretKey)
public IZendTarget getExistingLocalhost() {
final IZendTarget[] list = getTargets();
for (IZendTarget t : list) {
if (ZendTargetAutoDetect.localhost.getHost().equals(
t.getHost().getHost())) {
if (ZendTargetAutoDetect.localhost.equals(t.getHost())) {
return t;
}
}

0 comments on commit 0f4b86e

Please sign in to comment.