Skip to content

Commit

Permalink
Merge pull request #80 from zendtech/dariusz
Browse files Browse the repository at this point in the history
ZSTD-5228 Problem with detecting local zend server
dariusz-michura committed Sep 10, 2015

Verified

This commit was signed with the committer’s verified signature.
paescuj Pascal Jufer
2 parents 832ec5b + 0f4b86e commit dbfce7a
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -174,6 +174,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 dbfce7a

Please sign in to comment.