knox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kris...@apache.org
Subject knox git commit: KNOX-1466 - Remove explicit guava dependency from gateway-provider-rewrite-func-inbound-query-param
Date Thu, 27 Sep 2018 17:29:55 GMT
Repository: knox
Updated Branches:
  refs/heads/master 51659e413 -> eb2eabce7


KNOX-1466 - Remove explicit guava dependency from gateway-provider-rewrite-func-inbound-query-param

Signed-off-by: Kevin Risden <krisden@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/knox/repo
Commit: http://git-wip-us.apache.org/repos/asf/knox/commit/eb2eabce
Tree: http://git-wip-us.apache.org/repos/asf/knox/tree/eb2eabce
Diff: http://git-wip-us.apache.org/repos/asf/knox/diff/eb2eabce

Branch: refs/heads/master
Commit: eb2eabce70d39ac5786158d208654bedb70af859
Parents: 51659e4
Author: Kevin Risden <krisden@apache.org>
Authored: Thu Sep 27 12:30:25 2018 -0400
Committer: Kevin Risden <krisden@apache.org>
Committed: Thu Sep 27 13:29:36 2018 -0400

----------------------------------------------------------------------
 .../gateway/inboundurl/impl/InboundUrlFunctionProcessorTest.java  | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/knox/blob/eb2eabce/gateway-provider-rewrite-func-inbound-query-param/src/test/java/org/apache/knox/gateway/inboundurl/impl/InboundUrlFunctionProcessorTest.java
----------------------------------------------------------------------
diff --git a/gateway-provider-rewrite-func-inbound-query-param/src/test/java/org/apache/knox/gateway/inboundurl/impl/InboundUrlFunctionProcessorTest.java
b/gateway-provider-rewrite-func-inbound-query-param/src/test/java/org/apache/knox/gateway/inboundurl/impl/InboundUrlFunctionProcessorTest.java
index 86c4ce0..f3084c6 100644
--- a/gateway-provider-rewrite-func-inbound-query-param/src/test/java/org/apache/knox/gateway/inboundurl/impl/InboundUrlFunctionProcessorTest.java
+++ b/gateway-provider-rewrite-func-inbound-query-param/src/test/java/org/apache/knox/gateway/inboundurl/impl/InboundUrlFunctionProcessorTest.java
@@ -17,7 +17,6 @@
  */
 package org.apache.knox.gateway.inboundurl.impl;
 
-import com.google.common.collect.Lists;
 import org.apache.knox.gateway.filter.rewrite.api.UrlRewriteEnvironment;
 import org.apache.knox.gateway.filter.rewrite.api.UrlRewriteProcessor;
 import org.apache.knox.gateway.filter.rewrite.api.UrlRewriteRuleDescriptor;
@@ -126,7 +125,7 @@ public class InboundUrlFunctionProcessorTest {
     EasyMock.expect( environment.resolve( "cluster.name" ) ).andReturn(Collections.singletonList("test-cluster-name")).anyTimes();
 
     Resolver resolver = EasyMock.createNiceMock( Resolver.class );
-    EasyMock.expect( resolver.resolve( "query.param.host" ) ).andReturn( Lists.newArrayList(
"http://foo:50075" ) ).anyTimes();
+    EasyMock.expect( resolver.resolve( "query.param.host" ) ).andReturn( Collections.singletonList(
"http://foo:50075" ) ).anyTimes();
     EasyMock.replay( gatewayServices, environment, resolver );
 
     UrlRewriteRulesDescriptor descriptor = UrlRewriteRulesDescriptorFactory.create();


Mime
View raw message