File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
interfaceinjection/src/main/java/net/neoforged/jst/interfaceinjection Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ public InterfaceInformation createStub(String jvm) {
60
60
return new InterfaceInformation (createStub (jvm , typeParameterCount ), generics );
61
61
}
62
62
63
- private String createStub (String jvm , int typeParameterCount ) {
63
+ private synchronized String createStub (String jvm , int typeParameterCount ) {
64
64
var fqn = jvmToFqn .get (jvm );
65
65
if (fqn != null ) return fqn ;
66
66
@@ -88,7 +88,7 @@ private String createStub(String jvm, int typeParameterCount) {
88
88
return fqn ;
89
89
}
90
90
91
- public void save (Path path ) throws IOException {
91
+ public synchronized void save (Path path ) throws IOException {
92
92
if (path .getParent () != null && !Files .isDirectory (path .getParent ())) {
93
93
Files .createDirectories (path .getParent ());
94
94
}
You can’t perform that action at this time.
0 commit comments