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 2019/07/29 17:52:38 UTC

[knox] branch master updated: Fix javadoc warnings

This is an automated email from the ASF dual-hosted git repository.

krisden pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/knox.git


The following commit(s) were added to refs/heads/master by this push:
     new 34d3937  Fix javadoc warnings
34d3937 is described below

commit 34d393743e6d0cb0da4219a7b0027b16433d5640
Author: Kevin Risden <kr...@apache.org>
AuthorDate: Mon Jul 29 13:52:16 2019 -0400

    Fix javadoc warnings
---
 .../filter/rewrite/api/UrlRewriteServletFilterTest.java    | 14 +++-----------
 1 file changed, 3 insertions(+), 11 deletions(-)

diff --git a/gateway-provider-rewrite/src/test/java/org/apache/knox/gateway/filter/rewrite/api/UrlRewriteServletFilterTest.java b/gateway-provider-rewrite/src/test/java/org/apache/knox/gateway/filter/rewrite/api/UrlRewriteServletFilterTest.java
index e42ab48..88babd6 100644
--- a/gateway-provider-rewrite/src/test/java/org/apache/knox/gateway/filter/rewrite/api/UrlRewriteServletFilterTest.java
+++ b/gateway-provider-rewrite/src/test/java/org/apache/knox/gateway/filter/rewrite/api/UrlRewriteServletFilterTest.java
@@ -234,11 +234,7 @@ public class UrlRewriteServletFilterTest {
 //    fail( "TODO" );
 //  }
 
-  /**
-   * If no rewrite rule is defined for inbound request skip rewriting
-   * JSON Body.
-   * @throws Exception
-   */
+  // If no rewrite rule is defined for inbound request skip rewriting JSON Body.
   @Test
   public void testInboundJsonBodyRewrite() throws Exception {
     testSetUp( null );
@@ -461,11 +457,7 @@ public class UrlRewriteServletFilterTest {
 //    fail( "TODO" );
 //  }
 
-  /**
-   * Example test case where inbound rule is specified to rewrite
-   * request body.
-   * @throws Exception
-   */
+  // Example test case where inbound rule is specified to rewrite request body.
   @Test
   public void testRequestJsonBodyRewriteWithFilterInitParam() throws Exception {
     Map<String,String> initParams = new HashMap<>();
@@ -970,7 +962,7 @@ public class UrlRewriteServletFilterTest {
 
   private static class SetupFilter implements Filter {
     @Override
-    public void init( FilterConfig filterConfig ) throws ServletException {
+    public void init( FilterConfig filterConfig ) {
     }
 
     @Override