Re: svn commit: r533596 - /lucene/solr/trunk/src/java/org/apache/solr/handler/admin/PropertiesRequestHandler.java

2007-04-30 Thread Bertrand Delacretaz

On 4/30/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


...Modified:

lucene/solr/trunk/src/java/org/apache/solr/handler/admin/PropertiesRequestHandler.java

...

+  public static NamedListString toNamedList( Properties p )


IIUC this method is of general use, it might be good to move it to a
utility class, org.apache.solr.util.NamedListUtils maybe?

-Bertrand


Re: svn commit: r533596 - /lucene/solr/trunk/src/java/org/apache/solr/handler/admin/PropertiesRequestHandler.java

2007-04-30 Thread Ryan McKinley

Bertrand Delacretaz wrote:

On 4/30/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


...Modified:

lucene/solr/trunk/src/java/org/apache/solr/handler/admin/PropertiesRequestHandler.java 


...

+  public static NamedListString toNamedList( Properties p )


IIUC this method is of general use, it might be good to move it to a
utility class, org.apache.solr.util.NamedListUtils maybe?



Actually, I realized Properties implements Map so it doesn't need any 
special!