@@ -306,34 +306,34 @@ protected void done() {
306306 protected void loadJars () {
307307 factory = new ClassPathFactory ();
308308
309- StringBuilder tehPath = new StringBuilder ();
310- String modeClassPath = editor .getMode ().getSearchPath ();
309+ StringBuilder path = new StringBuilder ();
310+ String modeClassPath = (( JavaMode ) editor .getMode () ).getSearchPath ();
311311 if (modeClassPath != null ) {
312- tehPath .append (modeClassPath );
312+ path .append (modeClassPath );
313313 }
314314
315315 if (errorCheckerService .classpathJars != null ) {
316316 synchronized (errorCheckerService .classpathJars ) {
317317 for (URL jarPath : errorCheckerService .classpathJars ) {
318318 //log(jarPath.getPath());
319- tehPath .append (jarPath .getPath () + File .pathSeparatorChar );
319+ path .append (jarPath .getPath () + File .pathSeparatorChar );
320320 }
321321 }
322322 }
323323
324- classPath = factory .createFromPath (tehPath .toString ());
324+ classPath = factory .createFromPath (path .toString ());
325325 log ("Classpath created " + (classPath != null ));
326326 log ("Sketch classpath jars loaded." );
327327 if (Platform .isMacOS ()) {
328- File f = new File (System .getProperty ("java.home" ) + File .separator + "bundle"
329- + File .separator + "Classes" + File .separator + "classes.jar" );
330- log (f .getAbsolutePath () + " | classes.jar found?"
331- + f .exists ());
328+ File f = new File (System .getProperty ("java.home" ) +
329+ File .separator + "bundle" +
330+ File .separator + "Classes" +
331+ File .separator + "classes.jar" );
332+ log (f .getAbsolutePath () + " | classes.jar found?" + f .exists ());
332333 } else {
333- File f = new File (System .getProperty ("java.home" ) + File .separator
334- + "lib" + File .separator + "rt.jar" + File .separator );
335- log (f .getAbsolutePath () + " | rt.jar found?"
336- + f .exists ());
334+ File f = new File (System .getProperty ("java.home" ) + File .separator +
335+ "lib" + File .separator + "rt.jar" + File .separator );
336+ log (f .getAbsolutePath () + " | rt.jar found?" + f .exists ());
337337 }
338338 }
339339
@@ -3523,8 +3523,7 @@ protected boolean ignorableImport(String impName, String fullClassName) {
35233523 if (impName .startsWith ("processing" )) {
35243524 if (JavaMode .suggestionsMap .get (processingInclude ).contains (impName )) {
35253525 return false ;
3526- } else if (JavaMode .suggestionsMap .get (processingExclude )
3527- .contains (impName )) {
3526+ } else if (JavaMode .suggestionsMap .get (processingExclude ).contains (impName )) {
35283527 return true ;
35293528 }
35303529 } else if (impName .startsWith ("java" )) {
0 commit comments