You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@knox.apache.org by kr...@apache.org on 2018/09/27 17:29:55 UTC
knox git commit: KNOX-1466 - Remove explicit guava dependency from
gateway-provider-rewrite-func-inbound-query-param
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 <kr...@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 <kr...@apache.org>
Authored: Thu Sep 27 12:30:25 2018 -0400
Committer: Kevin Risden <kr...@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();