commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dfabul...@apache.org
Subject svn commit: r833912 - /commons/proper/dbutils/trunk/src/java/org/apache/commons/dbutils/wrappers/SqlNullCheckedResultSet.java
Date Sun, 08 Nov 2009 18:59:56 GMT
Author: dfabulich
Date: Sun Nov  8 18:59:55 2009
New Revision: 833912

URL: http://svn.apache.org/viewvc?rev=833912&view=rev
Log:
Fix minor CheckStyle error

Modified:
    commons/proper/dbutils/trunk/src/java/org/apache/commons/dbutils/wrappers/SqlNullCheckedResultSet.java

Modified: commons/proper/dbutils/trunk/src/java/org/apache/commons/dbutils/wrappers/SqlNullCheckedResultSet.java
URL: http://svn.apache.org/viewvc/commons/proper/dbutils/trunk/src/java/org/apache/commons/dbutils/wrappers/SqlNullCheckedResultSet.java?rev=833912&r1=833911&r2=833912&view=diff
==============================================================================
--- commons/proper/dbutils/trunk/src/java/org/apache/commons/dbutils/wrappers/SqlNullCheckedResultSet.java
(original)
+++ commons/proper/dbutils/trunk/src/java/org/apache/commons/dbutils/wrappers/SqlNullCheckedResultSet.java
Sun Nov  8 18:59:55 2009
@@ -212,7 +212,9 @@
      * @return the value
      */
     public byte[] getNullBytes() {
-        if (this.nullBytes == null) return null;
+        if (this.nullBytes == null) {
+            return null;
+        }
         byte[] copy = new byte[this.nullBytes.length];
         System.arraycopy(this.nullBytes, 0, copy, 0, this.nullBytes.length);
         return copy;



Mime
View raw message