| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1407,7 +1407,7 @@ private void loge(String msg, Throwable t) { | |||
| 1407 | 1407 | } | |
| 1408 | 1408 | ||
| 1409 | 1409 | ||
| 1410 | - private void logitse(Throwable t) { | ||
| 1410 | + static private void logitse(Throwable t) { | ||
| 1411 | 1411 | Messages.loge("incompatible thread state?", t); | |
| 1412 | 1412 | } | |
| 1413 | 1413 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -72,7 +72,6 @@ | |||
| 72 | 72 | /** | |
| 73 | 73 | * The main error checking service | |
| 74 | 74 | */ | |
| 75 | - @SuppressWarnings("unchecked") | ||
| 76 | 75 | public class PreprocessingService { | |
| 77 | 76 | ||
| 78 | 77 | protected final JavaEditor editor; | |
@@ -93,7 +92,7 @@ public class PreprocessingService { | |||
| 93 | 92 | private CompletableFuture<PreprocessedSketch> preprocessingTask = new CompletableFuture<>(); | |
| 94 | 93 | ||
| 95 | 94 | private CompletableFuture<?> lastCallback = | |
| 96 | - new CompletableFuture() {{ | ||
| 95 | + new CompletableFuture<Object>() {{ | ||
| 97 | 96 | complete(null); // initialization block | |
| 98 | 97 | }}; | |
| 99 | 98 | ||
@@ -568,8 +567,8 @@ private static List<String> buildSearchLibraryClassPath(JavaMode mode) { | |||
| 568 | 567 | } | |
| 569 | 568 | ||
| 570 | 569 | ||
| 571 | - private List<String> buildSketchLibraryClassPath(JavaMode mode, | ||
| 572 | - List<ImportStatement> programImports) { | ||
| 570 | + static private List<String> buildSketchLibraryClassPath(JavaMode mode, | ||
| 571 | + List<ImportStatement> programImports) { | ||
| 573 | 572 | StringBuilder classPath = new StringBuilder(); | |
| 574 | 573 | ||
| 575 | 574 | programImports.stream() | |
@@ -590,7 +589,7 @@ private List<String> buildSketchLibraryClassPath(JavaMode mode, | |||
| 590 | 589 | } | |
| 591 | 590 | ||
| 592 | 591 | ||
| 593 | - private List<String> buildJavaRuntimeClassPath() { | ||
| 592 | + static private List<String> buildJavaRuntimeClassPath() { | ||
| 594 | 593 | StringBuilder classPath = new StringBuilder(); | |
| 595 | 594 | ||
| 596 | 595 | // Java runtime | |
@@ -654,7 +653,7 @@ private static CompilationUnit makeASTWithBindings(ASTParser parser, | |||
| 654 | 653 | /** | |
| 655 | 654 | * Ignore processing packages, java.*.*. etc. | |
| 656 | 655 | */ | |
| 657 | - private boolean ignorableImport(String packageName) { | ||
| 656 | + static private boolean ignorableImport(String packageName) { | ||
| 658 | 657 | return (packageName.startsWith("java.") || | |
| 659 | 658 | packageName.startsWith("javax.")); | |
| 660 | 659 | } | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -127,7 +127,7 @@ public Runner(JavaBuild build, RunnerListener listener) throws SketchException { | |||
| 127 | 127 | * Has the user screwed up their hosts file? | |
| 128 | 128 | * https://github.com/processing/processing/issues/4738 | |
| 129 | 129 | */ | |
| 130 | - private void checkLocalHost() throws SketchException { | ||
| 130 | + static private void checkLocalHost() throws SketchException { | ||
| 131 | 131 | try { | |
| 132 | 132 | InetAddress address = InetAddress.getByName("localhost"); | |
| 133 | 133 | if (!address.getHostAddress().equals("127.0.0.1")) { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments