Decouple HashCodeBuilder from Builder
[yangtools.git] / common / util / src / main / java / org / opendaylight / yangtools / util / PropertyUtils.java
index cc8f94d1822448d1ce5a1aacb1ec8c1c3002e778..222d5f0c7f3359963a978b3197297449095c2e41 100644 (file)
@@ -8,11 +8,10 @@
 
 package org.opendaylight.yangtools.util;
 
+import com.google.common.base.Strings;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
-import com.google.common.base.Strings;
-
 /**
  * Provides utilities for system properties.
  *
@@ -34,10 +33,10 @@ public final class PropertyUtils {
      * @param defaultValue the default value
      * @return the System property as an int or the <code>defaultValue</code> if not found.
      */
-    public static int getIntSystemProperty( String propName, int defaultValue ) {
+    public static int getIntSystemProperty(String propName, int defaultValue) {
         int propValue = defaultValue;
         String strValue = System.getProperty(propName);
-        if (!Strings.isNullOrEmpty(strValue) && !strValue.trim().isEmpty() ) {
+        if (!Strings.isNullOrEmpty(strValue) && !strValue.trim().isEmpty()) {
             try {
                 propValue = Integer.parseInt(strValue);
             } catch (NumberFormatException e) {