mirror of
https://github.com/processing/processing4.git
synced 2026-02-15 11:25:38 +01:00
Merge branch 'issue-2134'
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user