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; }