hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject svn commit: r427707 - in /lucene/hadoop/trunk: CHANGES.txt src/java/org/apache/hadoop/conf/Configuration.java
Date Tue, 01 Aug 2006 20:15:47 GMT
Author: cutting
Date: Tue Aug  1 13:15:46 2006
New Revision: 427707

URL: http://svn.apache.org/viewvc?rev=427707&view=rev
Log:
HADOOP-345.  Permit iteration over Configuration key/value pairs.  Contributed by Michel.

Modified:
    lucene/hadoop/trunk/CHANGES.txt
    lucene/hadoop/trunk/src/java/org/apache/hadoop/conf/Configuration.java

Modified: lucene/hadoop/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/CHANGES.txt?rev=427707&r1=427706&r2=427707&view=diff
==============================================================================
--- lucene/hadoop/trunk/CHANGES.txt (original)
+++ lucene/hadoop/trunk/CHANGES.txt Tue Aug  1 13:15:46 2006
@@ -117,6 +117,9 @@
 33. HADOOP-377.  Permit one to add URL resources to a Configuration.
     (Jean-Baptiste Quenot via cutting)
 
+34. HADOOP-345.  Permit iteration over Configuration key/value pairs.
+    (Michel Tourn via cutting)
+
 
 Release 0.4.0 - 2006-06-28
 

Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/conf/Configuration.java
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/java/org/apache/hadoop/conf/Configuration.java?rev=427707&r1=427706&r2=427707&view=diff
==============================================================================
--- lucene/hadoop/trunk/src/java/org/apache/hadoop/conf/Configuration.java (original)
+++ lucene/hadoop/trunk/src/java/org/apache/hadoop/conf/Configuration.java Tue Aug  1 13:15:46
2006
@@ -386,6 +386,11 @@
     return properties;
   }
 
+  /** @return Iterator< Map.Entry<String,String> >  */
+  public Iterator entries() {
+    return getProps().entrySet().iterator();
+  }
+
   private void loadResources(Properties props,
                              ArrayList resources,
                              boolean reverse, boolean quiet) {



Mime
View raw message