diff options
author | Gary Wu <gary.i.wu@huawei.com> | 2017-05-08 21:04:32 -0700 |
---|---|---|
committer | Patrick Brady <pb071s@att.com> | 2017-05-16 20:18:53 +0000 |
commit | fa622476470f31a518c46926261bd7eecd7a2778 (patch) | |
tree | fab67f3116ebfd592117b4e1cd0a973d15276983 /appc-dispatcher/appc-request-handler/appc-request-handler-core/src | |
parent | 85c60968f20d96f3a59eddf95d740cb0fde47825 (diff) |
Fix compilation errors in Eclipse
Change-Id: Ic5aa1977199237e006376231ae3970ece7f2cd26
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
Diffstat (limited to 'appc-dispatcher/appc-request-handler/appc-request-handler-core/src')
-rw-r--r-- | appc-dispatcher/appc-request-handler/appc-request-handler-core/src/test/java/org/openecomp/appc/requesthandler/TestRequestValidator.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/appc-dispatcher/appc-request-handler/appc-request-handler-core/src/test/java/org/openecomp/appc/requesthandler/TestRequestValidator.java b/appc-dispatcher/appc-request-handler/appc-request-handler-core/src/test/java/org/openecomp/appc/requesthandler/TestRequestValidator.java index f4d703756..16caf5860 100644 --- a/appc-dispatcher/appc-request-handler/appc-request-handler-core/src/test/java/org/openecomp/appc/requesthandler/TestRequestValidator.java +++ b/appc-dispatcher/appc-request-handler/appc-request-handler-core/src/test/java/org/openecomp/appc/requesthandler/TestRequestValidator.java @@ -119,7 +119,7 @@ public class TestRequestValidator { PowerMockito.when(FrameworkUtil.getBundle(AAIService.class)).thenReturn(bundleService); PowerMockito.when(bundleService.getBundleContext()).thenReturn(bundleContext); PowerMockito.when(bundleContext.getServiceReference(AAIService.class.getName())).thenReturn(sref); - PowerMockito.when(bundleContext.getService(sref)).thenReturn(aaiService); + PowerMockito.when(bundleContext.<AAIService>getService(sref)).thenReturn(aaiService); PowerMockito.when(aaiService.query(anyString(),anyBoolean(),anyString(),anyString(),anyString(),anyString(),(SvcLogicContext)anyObject())).thenAnswer(new Answer<SvcLogicResource.QueryStatus>() { @Override public SvcLogicResource.QueryStatus answer(InvocationOnMock invocation) throws Throwable { |