You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2022/06/22 02:37:27 UTC

[GitHub] [doris] jackwener commented on a diff in pull request #10327: [Enhancement] modify comment " to ' compat mysql.

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-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org