healchow commented on code in PR #4396:
URL: https://github.com/apache/incubator-inlong/pull/4396#discussion_r885283248


##########
inlong-sort/sort-common/src/main/java/org/apache/inlong/sort/protocol/constant/OracleConstant.java:
##########
@@ -111,6 +113,15 @@ public enum ScanStartUpMode {
         ScanStartUpMode(String value) {
             this.value = value;
         }
+
+        public static ScanStartUpMode forName(String name) {
+            for (ScanStartUpMode dataType : ScanStartUpMode.values()) {
+                if (dataType.getValue().equals(name.toLowerCase(Locale.ROOT))) 
{

Review Comment:
   The use of the system needs to be restricted, and the case cannot be ignored.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to