From 1097d4f8de8ab17f37e88ac047311125d0ec9b14 Mon Sep 17 00:00:00 2001 From: bhashinee Date: Mon, 1 Apr 2024 12:02:49 +0530 Subject: [PATCH] Fix the wordings in the code comment --- .../persist/compiler/utils/ValidatorsByDatastore.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/compiler-plugin/src/main/java/io/ballerina/stdlib/persist/compiler/utils/ValidatorsByDatastore.java b/compiler-plugin/src/main/java/io/ballerina/stdlib/persist/compiler/utils/ValidatorsByDatastore.java index 95290c41..27e942be 100644 --- a/compiler-plugin/src/main/java/io/ballerina/stdlib/persist/compiler/utils/ValidatorsByDatastore.java +++ b/compiler-plugin/src/main/java/io/ballerina/stdlib/persist/compiler/utils/ValidatorsByDatastore.java @@ -127,7 +127,7 @@ public static boolean validateImportedTypes(Entity entity, Node typeNode, } public static boolean isValidSimpleType(String type, String datastore) { - // Ignore the validation if the datastore is not specified in toml files(ex:before executing generate command). + // If the datastore is null(ex: before executing the generate command), ignore the data type validation. if (null == datastore) { return true; } @@ -150,7 +150,7 @@ public static boolean isValidSimpleType(String type, String datastore) { } public static boolean isValidArrayType(String type, String datastore) { - // Ignore the validation if the datastore is not specified in toml files(ex:before executing generate command). + // If the datastore is null(ex: before executing the generate command), ignore the data type validation. if (null == datastore) { return true; } @@ -173,7 +173,7 @@ public static boolean isValidArrayType(String type, String datastore) { } public static boolean isValidImportedType(String modulePrefix, String identifier, String datastore) { - // Ignore the validation if the datastore is not specified in toml files(ex:before executing generate command). + // If the datastore is null(ex: before executing the generate command), ignore the data type validation. if (null == datastore) { return true; }