From 88e15c4cc0aaec753f4d8b01d45953d02b697567 Mon Sep 17 00:00:00 2001 From: poorna2152 Date: Wed, 18 Dec 2024 12:00:01 +0530 Subject: [PATCH] Update the Ballerina file name --- ballerina/{main.bal => mi_api.bal} | 0 .../java/io/ballerina/stdlib/mi/plugin/DiagnosticCode.java | 3 +-- 2 files changed, 1 insertion(+), 2 deletions(-) rename ballerina/{main.bal => mi_api.bal} (100%) diff --git a/ballerina/main.bal b/ballerina/mi_api.bal similarity index 100% rename from ballerina/main.bal rename to ballerina/mi_api.bal diff --git a/compiler-plugin/src/main/java/io/ballerina/stdlib/mi/plugin/DiagnosticCode.java b/compiler-plugin/src/main/java/io/ballerina/stdlib/mi/plugin/DiagnosticCode.java index 76e4ef1..2eb545e 100644 --- a/compiler-plugin/src/main/java/io/ballerina/stdlib/mi/plugin/DiagnosticCode.java +++ b/compiler-plugin/src/main/java/io/ballerina/stdlib/mi/plugin/DiagnosticCode.java @@ -32,8 +32,7 @@ public enum DiagnosticCode { LISTENER_SHAPE_VAR_NOT_ALLOWED("MIE005", "defining variables with a type that has the shape of `Listener` is not allowed when the `wso2/mi` " + "connector is in use.", ERROR), - MI_ANNOTATION_ADD("MI_HINT_001", "MI Annotation can be added", INTERNAL) - ; + MI_ANNOTATION_ADD("MI_HINT_001", "MI Annotation can be added", INTERNAL); private final String diagnosticId; private final String message;