8039210: Fix type error in DefaultResourceInjector

Adding generic types to method call; blocker for fixing javac issue

Reviewed-by: chegar
This commit is contained in:
Miroslav Kos 2014-05-23 16:24:18 +02:00
parent 9b4dd883bb
commit 81760b3498

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -40,7 +40,7 @@ import javax.xml.ws.WebServiceContext;
*/
public final class DefaultResourceInjector extends ResourceInjector {
public void inject(@NotNull WSWebServiceContext context, @NotNull Object instance) {
InjectionPlan.buildInjectionPlan(
InjectionPlan.<Object, WebServiceContext>buildInjectionPlan(
instance.getClass(),WebServiceContext.class,false).inject(instance,context);
}