[FIXED HUDSON-5884] Making compilable with JDK 7 javac.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30701 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
jglick committed 2010-05-04 15:40:41 +00:00
1 parent 0dfdc1b2ea
commit 57a59c535e
24 files changed
+30 -43

No files matched your search

+1 -1
View File
@@ -657,7 +657,7 @@ public class Functions {
}
public static List<Descriptor<ComputerLauncher>> getComputerLauncherDescriptors() {
return Hudson.getInstance().getDescriptorList(ComputerLauncher.class);
return Hudson.getInstance().<ComputerLauncher,Descriptor<ComputerLauncher>>getDescriptorList(ComputerLauncher.class);
}
public static List<Descriptor<RetentionStrategy<?>>> getRetentionStrategyDescriptors() {