HHoflittlefish777 commented on code in PR #19142: URL: https://github.com/apache/doris/pull/19142#discussion_r1185774097
########## fe/fe-core/src/main/java/org/apache/doris/load/loadv2/LoadManager.java: ########## @@ -109,7 +111,7 @@ public LoadManager(LoadJobScheduler loadJobScheduler) { public long createLoadJobFromStmt(LoadStmt stmt) throws DdlException { Database database = checkDb(stmt.getLabel().getDbName()); long dbId = database.getId(); - LoadJob loadJob = null; + LoadJob loadJob; Review Comment: Suggest use LoadJob loadjob = null,This approach is more in line with regulation. -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org