Branch: refs/heads/master
Home:
https://github.com/hibernate/hibernate-search
Commit: 5c5458602e8079af5096ac39f90e784b4143bcd2
https://github.com/hibernate/hibernate-search/commit/5c5458602e8079af5096...
Author: Hardy Ferentschik <hibernate(a)ferentschik.de>
Date: 2011-09-21 (Wed, 21 Sep 2011)
Changed paths:
M
hibernate-search/src/main/java/org/hibernate/search/indexes/serialization/avro/impl/AvroSerializationProvider.java
M hibernate-search/src/main/java/org/hibernate/search/util/impl/FileHelper.java
M
hibernate-search/src/main/java/org/hibernate/search/util/impl/HibernateSearchResourceLoader.java
M hibernate-search/src/main/java/org/hibernate/search/util/logging/impl/Log.java
A
hibernate-search/src/test/java/org/hibernate/search/test/util/ResourceLoadingTest.java
Log Message:
-----------
HSEARCH-921 Removing failing 'fullFileName.replace( '/', File.separatorChar
)' call. Since we are loading from the classpath this is not needed
Also moving the file and resource handling into a static helper class (makes it reusable
and testable). Access to classloader is also unified in one spot. This might be useful in
case we need to revisit how we use classloaders.
Handling the case where a unknown resource is specified with an exception