You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2019/05/10 09:37:36 UTC

[camel] 02/02: Fixed CS for Camel-Drill

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

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

commit b23bb6ea1a34300545ea9167e690b04bc7fb36b1
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri May 10 11:37:16 2019 +0200

    Fixed CS for Camel-Drill
---
 .../main/java/org/apache/camel/component/drill/util/StringUtils.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/components/camel-drill/src/main/java/org/apache/camel/component/drill/util/StringUtils.java b/components/camel-drill/src/main/java/org/apache/camel/component/drill/util/StringUtils.java
index f05e844..f7eaf41 100644
--- a/components/camel-drill/src/main/java/org/apache/camel/component/drill/util/StringUtils.java
+++ b/components/camel-drill/src/main/java/org/apache/camel/component/drill/util/StringUtils.java
@@ -16,7 +16,7 @@
  */
 package org.apache.camel.component.drill.util;
 
-public class StringUtils {
+public final class StringUtils {
 
     private StringUtils() {
     }
@@ -24,7 +24,7 @@ public class StringUtils {
     public static boolean isBlank(String str) {
         int strLen;
         if (str != null && (strLen = str.length()) != 0) {
-            for(int i = 0; i < strLen; ++i) {
+            for (int i = 0; i < strLen; ++i) {
                 if (!Character.isWhitespace(str.charAt(i))) {
                     return false;
                 }