From 5c7543537de038a76545dc3734658aae42d1ca43 Mon Sep 17 00:00:00 2001 From: Tommaso Pacciani <214774967+TommasoPacciani@users.noreply.github.com> Date: Tue, 27 Oct 2026 16:01:26 +0100 Subject: [PATCH] Use lowercase java+compilationunit scheme --- src/lang/java/m3/Core.rsc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lang/java/m3/Core.rsc b/src/lang/java/m3/Core.rsc index 8cf3b3f..d023fd0 100644 --- a/src/lang/java/m3/Core.rsc +++ b/src/lang/java/m3/Core.rsc @@ -319,7 +319,7 @@ M3 createM3FromJar(loc jarFile, list[loc] classPath = []) { } void unregisterJavaProject(loc project) { - unregisterProjectSchemes(project, {"java+compilationUnit", "java+compilationUnit", "java+class", "java+constructor", "java+initializer", "java+parameter","java+variable","java+field" , "java+interface" , "java+enum", "java+class" , "java+interface","java+enum","java+module"}); + unregisterProjectSchemes(project, {"java+compilationunit", "java+compilationunit", "java+class", "java+constructor", "java+initializer", "java+parameter","java+variable","java+field" , "java+interface" , "java+enum", "java+class" , "java+interface","java+enum","java+module"}); } @deprecated{ @@ -332,7 +332,7 @@ str getMethodSignature(loc method) @description{ A compilation unit is equivalent to a `.java` file in Java. } -bool isCompilationUnit(loc entity) = entity.scheme == "java+compilationUnit"; +bool isCompilationUnit(loc entity) = entity.scheme == "java+compilationunit"; @synopsis{Checks if the logical name of the `entity` is a package.} bool isPackage(loc entity) = entity.scheme == "java+package";