knox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kris...@apache.org
Subject [knox] branch master updated: KNOX-2103 - Fix javadoc errors
Date Tue, 12 Nov 2019 23:30:30 GMT
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 584f210  KNOX-2103 - Fix javadoc errors
584f210 is described below

commit 584f210a5e67ec9fd9c4c3758b524081c475083b
Author: Kevin Risden <krisden@apache.org>
AuthorDate: Tue Nov 12 18:30:23 2019 -0500

    KNOX-2103 - Fix javadoc errors
---
 .../org/apache/knox/gateway/util/StringUtils.java   | 21 +++++++--------------
 1 file changed, 7 insertions(+), 14 deletions(-)

diff --git a/gateway-util-common/src/main/java/org/apache/knox/gateway/util/StringUtils.java
b/gateway-util-common/src/main/java/org/apache/knox/gateway/util/StringUtils.java
index 922f2cd..3c31f73 100644
--- a/gateway-util-common/src/main/java/org/apache/knox/gateway/util/StringUtils.java
+++ b/gateway-util-common/src/main/java/org/apache/knox/gateway/util/StringUtils.java
@@ -18,29 +18,22 @@
 package org.apache.knox.gateway.util;
 
 public class StringUtils {
-
   private StringUtils() {
-  };
+  }
 
   /**
-   * @param str
-   *          a String
-   * @param prefix
-   *          a prefix
-   * @return true if {@code str} starts with {@code prefix}, ignoring case
-   *         sensitivity
+   * @param str a String
+   * @param prefix a prefix
+   * @return true if {@code str} starts with {@code prefix}, ignoring case sensitivity
    */
   public static boolean startsWithIgnoreCase(String str, String prefix) {
     return str.regionMatches(true, 0, prefix, 0, prefix.length());
   }
 
   /**
-   * @param str
-   *          a String
-   * @param prefix
-   *          a prefix
-   * @return true if {@code str} ends with {@code prefix}, ignoring case
-   *         sensitivity
+   * @param str a String
+   * @param suffix a suffix
+   * @return true if {@code str} ends with {@code suffix}, ignoring case sensitivity
    */
   public static boolean endsWithIgnoreCase(String str, String suffix) {
     int suffixLength = suffix.length();


Mime
View raw message