Merge branch 'issue-2134'

This commit is contained in:
Daniel Howe
2013-10-29 01:57:42 +08:00
3 changed files with 4 additions and 5 deletions

View File

@@ -1039,9 +1039,8 @@ public abstract class Mode {
// . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
/**
* Checks coreLibraries and contribLibraries in 'mode' for a library whose name is 'libName'
* @param mode the mode to check
* @param libName the name of the library
* Checks coreLibraries and contribLibraries for a library with the specified name
* @param libName the name of the library to find
* @return the Library or null if not found
*/
public Library findLibraryByName(String libName) {

View File

@@ -47,7 +47,7 @@ public abstract class LocalContribution extends Contribution {
protected File folder;
protected HashMap<String, String> properties;
protected ClassLoader loader;
protected List<String> specifiedImports; // "mylib, mylib.util";
protected List<String> specifiedImports; // mylib,mylib.util;
public LocalContribution(File folder) {
this.folder = folder;

View File

@@ -558,7 +558,7 @@ public class JavaEditor extends Editor {
String[] list = lib.getSpecifiedImports(); // ask the library for its imports
if (list == null) {
// Default to old behavior and load every package in the primary jar
// Default to old behavior and load each package in the primary jar
list = Base.packageListFromClassPath(lib.getJarPath());
}