mirror of
https://github.com/apache/lucene.git
synced 2025-02-12 04:55:27 +00:00
Uwe Schindler
07424bf640
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).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@930323 13f79535-47bb-0310-9956-ffa450edef68
Description
Apache Lucene open-source search software
608 MiB
Languages
Java
97.7%
HTML
1%
Python
0.9%
Lex
0.3%