Cleaning up Velocity. Minor change to Engine and ServiceLoaders to optionally use custom ClassLoader.

Former-commit-id: 8c1a58247faeaa032ca7389106378b095ac45edf
This commit is contained in:
Steve Springett
2014-04-26 01:25:56 -05:00
parent b7ed1429de
commit fa1adc5294
5 changed files with 28 additions and 24 deletions

View File

@@ -33,7 +33,7 @@ public class AnalyzerServiceTest extends BaseTest {
*/
@Test
public void testGetAnalyzers() {
AnalyzerService instance = new AnalyzerService();
AnalyzerService instance = new AnalyzerService(Thread.currentThread().getContextClassLoader());
Iterator<Analyzer> result = instance.getAnalyzers();
boolean found = false;