File: 106-hm_class_names_fixes.patch

package info (click to toggle)
airport-utils 2-8
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 4,048 kB
  • sloc: java: 30,844; xml: 571; sh: 563; makefile: 10
file content (19 lines) | stat: -rw-r--r-- 952 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Fix class names in host monitor
 Use fully qualified class names, with package name prepended.
Author: Julien BLACHE <jblache@debian.org>

Index: airport-utils-2/hostmon/HostInfoRetriever.java
===================================================================
--- airport-utils-2.orig/hostmon/HostInfoRetriever.java	2010-03-11 20:55:56.490753683 +0100
+++ airport-utils-2/hostmon/HostInfoRetriever.java	2010-03-11 20:58:12.644752985 +0100
@@ -40,7 +40,9 @@
     static 
     {
         Class retrieverClass;
-        String[] retrieverClassNames = {"AirportExtremeHostInfoRetriever", "SnowAirportHostInfoRetriever", "GraphiteAirportHostInfoRetriever"};
+        String[] retrieverClassNames = {"airporthostmon.AirportExtremeHostInfoRetriever",
+					"airporthostmon.SnowAirportHostInfoRetriever",
+					"airporthostmon.GraphiteAirportHostInfoRetriever"};
         
         for (int i = 0; i < retrieverClassNames.length; i++)
         {