Skip to content

Commit cb041df

Browse files
committed
[JENKINS-33596] Fully delete UDPBroadcastThread & DNSMultiCast
1 parent 76a9dac commit cb041df

File tree

4 files changed

+2
-96
lines changed

4 files changed

+2
-96
lines changed

core/src/main/java/hudson/DNSMultiCast.java

Lines changed: 0 additions & 32 deletions
This file was deleted.

core/src/main/java/hudson/UDPBroadcastThread.java

Lines changed: 0 additions & 61 deletions
This file was deleted.

core/src/main/java/jenkins/model/Jenkins.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -889,7 +889,6 @@ protected Jenkins(File root, ServletContext context) throws IOException, Interru
889889
* If non-null, use existing plugin manager. create a new one.
890890
*/
891891
@SuppressFBWarnings({
892-
"SC_START_IN_CTOR", // bug in FindBugs. It flags UDPBroadcastThread.start() call but that's for another class
893892
"ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD", // Trigger.timer
894893
"DM_EXIT" // Exit is wanted here
895894
})

core/src/main/java/jenkins/util/SystemProperties.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,12 @@
5454
/**
5555
* Centralizes calls to {@link System#getProperty(String)} and related calls.
5656
* This allows us to get values not just from environment variables but also from
57-
* the {@link ServletContext}, so properties like {@code hudson.DNSMultiCast.disabled}
57+
* the {@link ServletContext}, so properties like {@code jenkins.whatever.Clazz.disabled}
5858
* can be set in {@code context.xml} and the app server's boot script does not
5959
* have to be changed.
6060
*
6161
* <p>This should be used to obtain hudson/jenkins "app"-level parameters
62-
* (e.g. {@code hudson.DNSMultiCast.disabled}), but not for system parameters
62+
* (e.g. {@code jenkins.whatever.Clazz.disabled}), but not for system parameters
6363
* (e.g. {@code os.name}).
6464
*
6565
* <p>If you run multiple instances of Jenkins in the same virtual machine and wish

0 commit comments

Comments
 (0)