Skip to content

Commit 6d2dab0

Browse files
eclipse-mylyn-botruspl-afed
authored andcommitted
Perform clean code of mylyn.builds/org.eclipse.mylyn.jenkins.ui
1 parent 5722137 commit 6d2dab0

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

mylyn.builds/org.eclipse.mylyn.jenkins.ui/src/org/eclipse/mylyn/internal/jenkins/ui/JenkinsConnectorUi.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
/*******************************************************************************
22
* Copyright (c) 2010 Markus Knittig and others.
3-
*
3+
*
44
* This program and the accompanying materials are made available under the
55
* terms of the Eclipse Public License v. 2.0 which is available at
66
* https://www.eclipse.org/legal/epl-2.0
7-
*
7+
*
88
* SPDX-License-Identifier: EPL-2.0
99
*
1010
* Markus Knittig - initial API and implementation

mylyn.builds/org.eclipse.mylyn.jenkins.ui/src/org/eclipse/mylyn/internal/jenkins/ui/JenkinsDiscovery.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,6 @@ public boolean triggerDiscovery() {
9393

9494
private static final String ECF_DISCOVERY_JMDNS = "ecf.discovery.jmdns"; //$NON-NLS-1$
9595

96-
private static final String HUDSON_MDNS_ID = "_hudson._tcp.local._iana"; //$NON-NLS-1$
97-
9896
private static final String JENKINS_MDNS_ID = "_jenkins._tcp.local._iana"; //$NON-NLS-1$
9997

10098
private static final String URL_PROPERTY = "url"; //$NON-NLS-1$
@@ -164,7 +162,7 @@ private void issueJenkinsNotification(IServiceProperties properties) throws URIS
164162
// Change the first segment (org.eclipse.mylyn.hudson) to the id of
165163
// the new repository type when we start differentiation between the two
166164
notifyMessage(Messages.JenkinsDiscovery_MessageTitle, NLS.bind(Messages.JenkinsDiscovery_MessageText,
167-
new Object[] { url, Messages.JenkinsDiscovery_ServerName, url, id }));
165+
url, Messages.JenkinsDiscovery_ServerName, url, id));
168166
}
169167
}
170168

mylyn.builds/org.eclipse.mylyn.jenkins.ui/src/org/eclipse/mylyn/internal/jenkins/ui/JenkinsStartup.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
/*******************************************************************************
22
* Copyright (c) 2012, 2013 Tasktop Technologies and others.
3-
*
3+
*
44
* This program and the accompanying materials are made available under the
55
* terms of the Eclipse Public License v. 2.0 which is available at
66
* https://www.eclipse.org/legal/epl-2.0
7-
*
7+
*
88
* SPDX-License-Identifier: EPL-2.0
99
*
1010
* Tasktop Technologies - initial API and implementation

0 commit comments

Comments
 (0)