jackwener commented on code in PR #10327: URL: https://github.com/apache/doris/pull/10327#discussion_r903227171
########## fe/fe-core/src/test/java/org/apache/doris/analysis/ShowCreateTableStmtTest.java: ########## @@ -18,46 +18,36 @@ package org.apache.doris.analysis; import org.apache.doris.common.AnalysisException; -import org.apache.doris.mysql.privilege.MockedAuth; -import org.apache.doris.mysql.privilege.PaloAuth; -import org.apache.doris.qe.ConnectContext; - -import mockit.Mocked; -import org.junit.Assert; -import org.junit.Before; -import org.junit.Test; - -public class ShowCreateTableStmtTest { - private Analyzer analyzer; - - @Mocked - private PaloAuth auth; - @Mocked - private ConnectContext ctx; - - @Before - public void setUp() { - analyzer = AccessTestUtil.fetchAdminAnalyzer(true); - MockedAuth.mockedAuth(auth); - MockedAuth.mockedConnectContext(ctx, "root", "192.168.1.1"); +import org.apache.doris.common.DdlException; Review Comment: Use `control+option+o` remove unused header. [Doc about it](https://doris.apache.org/zh-CN/developer/developer-guide/java-format-code.html#import-order) -- 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