/[Apache-SVN]
ViewVC logotype

Revision 930323


Jump to revision: Previous Next
Author: uschindler
Date: Fri Apr 2 16:49:04 2010 UTC (14 years, 7 months ago)
Changed paths: 1
Log Message:
Fix broken MBean test: new File(URL.getPath()) is the wrong way to create filenames from "file:" URLs coming from Classloader. The problem: some characters are escaped, e.g. the whitespace in my user's home directory. The correct way is to cast to URI using toURI() and invoking the URI-ctor in File (this is the "official" way to go).

Changed paths

Path Details
Directorylucene/dev/trunk/solr/src/test/org/apache/solr/SolrInfoMBeanTest.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26