Minor: fix some dictionary suggestions

This commit is contained in:
Nikolay Krasko
2014-07-21 15:54:29 +04:00
parent b79b7554ff
commit e035fc3219
2 changed files with 9 additions and 3 deletions
+6
View File
@@ -3,9 +3,15 @@
<words>
<w>accessors</w>
<w>goto</w>
<w>gradle</w>
<w>kdoc</w>
<w>kompiler</w>
<w>memoize</w>
<w>memoized</w>
<w>multiline</w>
<w>preload</w>
<w>preloader</w>
<w>preloading</w>
<w>preprocess</w>
<w>redeclarations</w>
<w>subclassed</w>
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2013 JetBrains s.r.o.
* Copyright 2010-2014 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -80,13 +80,13 @@ public class CompilerRunnerUtil {
public static ClassLoader getOrCreateClassLoader(KotlinPaths paths, MessageCollector messageCollector) {
ClassLoader answer = ourClassLoaderRef.get();
if (answer == null) {
answer = createClassloader(paths, messageCollector);
answer = createClassLoader(paths, messageCollector);
ourClassLoaderRef = new SoftReference<ClassLoader>(answer);
}
return answer;
}
private static URLClassLoader createClassloader(KotlinPaths paths, MessageCollector messageCollector) {
private static URLClassLoader createClassLoader(KotlinPaths paths, MessageCollector messageCollector) {
List<File> jars = kompilerClasspath(paths, messageCollector);
URL[] urls = new URL[jars.size()];
for (int i = 0; i < urls.length; i++) {