db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kahat...@apache.org
Subject svn commit: r1359110 - /db/derby/code/trunk/java/drda/org/apache/derby/impl/drda/DRDAConnThread.java
Date Mon, 09 Jul 2012 12:30:34 GMT
Author: kahatlen
Date: Mon Jul  9 12:30:34 2012
New Revision: 1359110

URL: http://svn.apache.org/viewvc?rev=1359110&view=rev
Log:
DERBY-5847: Clean up IDE warnings in DRDAConnThread

Removed unnecessary return statements.

Modified:
    db/derby/code/trunk/java/drda/org/apache/derby/impl/drda/DRDAConnThread.java

Modified: db/derby/code/trunk/java/drda/org/apache/derby/impl/drda/DRDAConnThread.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/drda/org/apache/derby/impl/drda/DRDAConnThread.java?rev=1359110&r1=1359109&r2=1359110&view=diff
==============================================================================
--- db/derby/code/trunk/java/drda/org/apache/derby/impl/drda/DRDAConnThread.java (original)
+++ db/derby/code/trunk/java/drda/org/apache/derby/impl/drda/DRDAConnThread.java Mon Jul 
9 12:30:34 2012
@@ -4278,8 +4278,6 @@ class DRDAConnThread extends Thread {
 		}
 
 		} while(hasResultSet && (++rsNum < numResults));
-		        
-		return;			// we are done
 	}
 
 
@@ -5439,8 +5437,6 @@ class DRDAConnThread extends Thread {
 				"not recognized.", "01000");
 			throw warn;
 		} // end if.
-
-		return;
 	}
 
 	private boolean canIgnoreStmt(String stmt)
@@ -5848,11 +5844,8 @@ class DRDAConnThread extends Thread {
 	private void parseMONITOR() 
 		throws DRDAProtocolException
 	{
-
 		// Just ignore it.
 		reader.skipBytes();
-		return;
-
 	}
 
 	private void writeSQLCARDs(SQLException e, int updateCount)
@@ -6467,7 +6460,6 @@ class DRDAConnThread extends Thread {
 		throws DRDAProtocolException
 	{
 		writer.writeByte(CodePoint.NULLDATA);
-		return;
 	}
 
 	/**
@@ -6522,8 +6514,6 @@ class DRDAConnThread extends Thread {
 
 			se = se.getNextException();
 		}
-			
-		return;
 	}
 
 	/**
@@ -6628,7 +6618,6 @@ class DRDAConnThread extends Thread {
 		throws DRDAProtocolException
 	{
 		writer.writeByte(CodePoint.NULLDATA);
-		return;
 	}
 
 	/** 
@@ -8924,10 +8913,7 @@ class DRDAConnThread extends Thread {
 	 * needed.
 	 */
 	private void finalizeChain() throws DRDAProtocolException {
-
 		writer.finalizeChain(reader.getCurrChainState(), getOutputStream());
-		return;
-
 	}
 
     /**



Mime
View raw message