Author: pferraro
Date: 2008-09-25 12:09:59 -0400 (Thu, 25 Sep 2008)
New Revision: 1905
Modified:
trunk/mod_cluster/src/main/java/org/jboss/modcluster/mcmp/impl/DefaultMCMPHandler.java
Log:
oops - last commit caused NullPointerException
Modified:
trunk/mod_cluster/src/main/java/org/jboss/modcluster/mcmp/impl/DefaultMCMPHandler.java
===================================================================
---
trunk/mod_cluster/src/main/java/org/jboss/modcluster/mcmp/impl/DefaultMCMPHandler.java 2008-09-25
15:35:33 UTC (rev 1904)
+++
trunk/mod_cluster/src/main/java/org/jboss/modcluster/mcmp/impl/DefaultMCMPHandler.java 2008-09-25
16:09:59 UTC (rev 1905)
@@ -956,16 +956,18 @@
/**
* Convenience method that returns a reader to the proxy.
*/
- BufferedReader getConnectionReader()
+ BufferedReader getConnectionReader() throws IOException
{
+ this.getConnection();
return this.reader;
}
/**
* Convenience method that returns a writer to the proxy.
*/
- BufferedWriter getConnectionWriter()
+ BufferedWriter getConnectionWriter() throws IOException
{
+ this.getConnection();
return this.writer;
}
Show replies by date