Skip to content

Commit 9b4f190

Browse files
committed
Cleanup unused fix
1 parent 972a489 commit 9b4f190

File tree

1 file changed

+2
-22
lines changed

1 file changed

+2
-22
lines changed

java/src/processing/mode/java/JavaMode.java

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@
2525
import java.awt.*;
2626
import java.io.File;
2727
import java.io.IOException;
28-
import java.net.URISyntaxException;
29-
import java.nio.file.*;
30-
import java.nio.file.attribute.BasicFileAttributes;
3128
import java.util.*;
3229
import 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

0 commit comments

Comments
 (0)