Browse Source

Merge remote-tracking branch 'Stan/development' into development

kindlich 5 years ago
parent
commit
177b59341d
No known key found for this signature in database

+ 2
- 1
JavaIntegration/src/main/java/org/openzen/zencode/java/JavaNativeModule.java View File

61
 import org.openzen.zenscript.javashared.JavaFunctionalInterfaceStorageTag;
61
 import org.openzen.zenscript.javashared.JavaFunctionalInterfaceStorageTag;
62
 import org.openzen.zenscript.javashared.JavaImplementation;
62
 import org.openzen.zenscript.javashared.JavaImplementation;
63
 import org.openzen.zenscript.javashared.JavaMethod;
63
 import org.openzen.zenscript.javashared.JavaMethod;
64
+import org.openzen.zenscript.javashared.JavaModifiers;
64
 import stdlib.Strings;
65
 import stdlib.Strings;
65
 
66
 
66
 /**
67
 /**
600
 				functionalInterfaceMethod.getName(),
601
 				functionalInterfaceMethod.getName(),
601
 				false,
602
 				false,
602
 				getMethodDescriptor(functionalInterfaceMethod),
603
 				getMethodDescriptor(functionalInterfaceMethod),
603
-				Modifiers.PUBLIC | Modifiers.ABSTRACT,
604
+				JavaModifiers.PUBLIC | JavaModifiers.ABSTRACT,
604
 				header.getReturnType().type.isGeneric());
605
 				header.getReturnType().type.isGeneric());
605
 		StorageTag tag = new JavaFunctionalInterfaceStorageTag(functionalInterfaceMethod, method);
606
 		StorageTag tag = new JavaFunctionalInterfaceStorageTag(functionalInterfaceMethod, method);
606
 		return registry.getFunction(header).stored(tag);
607
 		return registry.getFunction(header).stored(tag);

Loading…
Cancel
Save