File tree Expand file tree Collapse file tree 1 file changed +2
-22
lines changed
java/src/processing/mode/java Expand file tree Collapse file tree 1 file changed +2
-22
lines changed Original file line number Diff line number Diff line change 2525import java .awt .*;
2626import java .io .File ;
2727import java .io .IOException ;
28- import java .net .URISyntaxException ;
29- import java .nio .file .*;
30- import java .nio .file .attribute .BasicFileAttributes ;
3128import java .util .*;
3229import java .util .concurrent .ConcurrentHashMap ;
3330
@@ -60,25 +57,8 @@ public JavaMode(Base base, File folder) {
6057 public String getTitle () {
6158 return "Java" ;
6259 }
63-
64- File resourcesFolder ;
65-
66- @ Deprecated
67- @ Override
68- public File [] getKeywordFiles () {
69- var url = JavaMode .class .getClassLoader ().getResource ("keywords.txt" );
70- if (url != null ) {
71- try {
72- var target = Files .createTempFile ("processing" , "keywords.txt" );
73- Files .copy (url .openStream (), target , StandardCopyOption .REPLACE_EXISTING );
74-
75- return new File [] { target .toFile () };
76- }catch (IOException e ){
77- e .printStackTrace ();
78- }
79- }
80- return super .getKeywordFiles ();
81- }
60+
61+
8262 // . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8363
8464
You can’t perform that action at this time.
0 commit comments