What compiler are you using? I should use the same so I get the same warnings.
I need to look at that section. Generally the handleException section are extremely important. Aaron > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 17, 2002 8:53 PM > To: [EMAIL PROTECTED] > Subject: cvs commit: jakarta-turbine- > stratum/src/java/org/apache/stratum/jcs/auxiliary/lateral > LateralCache.java > > dlr 02/01/17 17:53:11 > > Modified: src/java/org/apache/stratum/jcs/auxiliary/lateral > LateralCache.java > Log: > Fixed compilation warning. > > Revision Changes Path > 1.4 +5 -10 jakarta-turbine- > stratum/src/java/org/apache/stratum/jcs/auxiliary/lateral/LateralCache.j av > a > > Index: LateralCache.java > =================================================================== > RCS file: /home/cvs/jakarta-turbine- > stratum/src/java/org/apache/stratum/jcs/auxiliary/lateral/LateralCache.j av > a,v > retrieving revision 1.3 > retrieving revision 1.4 > diff -u -u -r1.3 -r1.4 > --- LateralCache.java 15 Jan 2002 21:33:30 -0000 1.3 > +++ LateralCache.java 18 Jan 2002 01:53:11 -0000 1.4 > @@ -210,6 +210,8 @@ > > > /** > + * Returns <code>null</code>. > + * > *@param key Description of the Parameter > *@param container Description of the Parameter > *@return Description of the Return Value > @@ -218,16 +220,7 @@ > public Serializable get( Serializable key, boolean container ) > throws IOException > { > - try > - { > - return null; > - } > - catch ( Exception ex ) > - { > - handleException( ex, "Failed to get " + key + " from " + > cattr.getCacheName() ); > - return null; > - // never executes; just keep the compiler happy. > - } > + return null; > } > > > @@ -291,6 +284,7 @@ > throws IOException > { > p( "disposing of lateral cache" ); > + /* HELP: This section did nothing but generate compilation > warnings. > try > { > // Should remove cache from multicast group > @@ -301,6 +295,7 @@ > handleException( ex, "Failed to dispose " + > cattr.getCacheName() ); > //remote = null; > } > + */ > } > > > > > > > -- > To unsubscribe, e-mail: <mailto:turbine-dev- > [EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:turbine-dev- > [EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
