From 14cfe3f5592531f10587ba17bbab4fea6a70ecbd Mon Sep 17 00:00:00 2001 From: oppofind <836575280@qq.com> Date: Tue, 11 May 2021 23:14:56 +0800 Subject: [PATCH] optimised import --- .../com/power/doc/builder/TornaBuilder.java | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/src/main/java/com/power/doc/builder/TornaBuilder.java b/src/main/java/com/power/doc/builder/TornaBuilder.java index 63c925bc..0043803e 100644 --- a/src/main/java/com/power/doc/builder/TornaBuilder.java +++ b/src/main/java/com/power/doc/builder/TornaBuilder.java @@ -23,32 +23,24 @@ package com.power.doc.builder; import com.google.gson.Gson; -import com.google.gson.JsonElement; -import com.google.gson.JsonParser; -import com.power.common.net.SSLSocketFactoryBuilder; -import com.power.common.net.TrustAnyTrustManager; -import com.power.common.util.CollectionUtil; import com.power.common.util.OkHttp3Util; import com.power.common.util.StringUtil; import com.power.doc.constants.TornaConstants; -import com.power.doc.model.*; -import com.power.doc.model.torna.*; +import com.power.doc.model.ApiConfig; +import com.power.doc.model.ApiDoc; +import com.power.doc.model.torna.Apis; +import com.power.doc.model.torna.TornaApi; import com.power.doc.template.SpringBootDocBuildTemplate; import com.power.doc.utils.TornaUtil; import com.thoughtworks.qdox.JavaProjectBuilder; -import okhttp3.*; import org.apache.commons.lang3.StringUtils; -import java.io.IOException; import java.util.ArrayList; -import java.util.Iterator; import java.util.List; import java.util.Map; -import java.util.concurrent.TimeUnit; -import static com.power.doc.constants.TornaConstants.CATEGORY_CREATE; import static com.power.doc.constants.TornaConstants.PUSH; -import static com.power.doc.utils.TornaUtil.*; +import static com.power.doc.utils.TornaUtil.buildApis; /**