svn commit: r833912 - /commons/proper/dbutils/trunk/src/java/org/apache/commons/dbutils/wrappers/SqlNullCheckedResultSet.java

View: New views
1 Messages — Rating Filter:   Alert me  

svn commit: r833912 - /commons/proper/dbutils/trunk/src/java/org/apache/commons/dbutils/wrappers/SqlNullCheckedResultSet.java

by dfabulich-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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;