You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@excalibur.apache.org by sh...@apache.org on 2005/06/12 09:05:05 UTC
svn commit: r190224 -
/excalibur/trunk/components/store/src/java/org/apache/excalibur/store/impl/MRUMemoryStore.java
Author: shash
Date: Sun Jun 12 00:05:05 2005
New Revision: 190224
URL: http://svn.apache.org/viewcvs?rev=190224&view=rev
Log:
Rename variable to avoid using Java-1.5 enum keyword
Modified:
excalibur/trunk/components/store/src/java/org/apache/excalibur/store/impl/MRUMemoryStore.java
Modified: excalibur/trunk/components/store/src/java/org/apache/excalibur/store/impl/MRUMemoryStore.java
URL: http://svn.apache.org/viewcvs/excalibur/trunk/components/store/src/java/org/apache/excalibur/store/impl/MRUMemoryStore.java?rev=190224&r1=190223&r2=190224&view=diff
==============================================================================
--- excalibur/trunk/components/store/src/java/org/apache/excalibur/store/impl/MRUMemoryStore.java (original)
+++ excalibur/trunk/components/store/src/java/org/apache/excalibur/store/impl/MRUMemoryStore.java Sun Jun 12 00:05:05 2005
@@ -148,10 +148,10 @@
if( m_persistent )
{
getLogger().debug( "Final cache size: " + m_cache.size() );
- Enumeration enum = m_cache.keys();
- while( enum.hasMoreElements() )
+ Enumeration enumer = m_cache.keys();
+ while( enumer.hasMoreElements() )
{
- Object key = enum.nextElement();
+ Object key = enumer.nextElement();
if( key == null )
{
continue;
@@ -298,10 +298,10 @@
*/
public synchronized void clear()
{
- Enumeration enum = m_cache.keys();
- while( enum.hasMoreElements() )
+ Enumeration enumer = m_cache.keys();
+ while( enumer.hasMoreElements() )
{
- Object key = enum.nextElement();
+ Object key = enumer.nextElement();
if( key == null )
{
continue;
---------------------------------------------------------------------
To unsubscribe, e-mail: scm-unsubscribe@excalibur.apache.org
For additional commands, e-mail: scm-help@excalibur.apache.org