diff --git a/build.gradle b/build.gradle index 1717e92..fa32020 100644 --- a/build.gradle +++ b/build.gradle @@ -12,7 +12,6 @@ application { dependencies { implementation project(":front-base") - implementation project(":sdk-java") // https://mvnrepository.com/artifact/com.jianggujin/IKAnalyzer-lucene implementation 'com.jianggujin:IKAnalyzer-lucene:8.0.0' // https://mvnrepository.com/artifact/org.apache.lucene/lucene-analyzers-common diff --git a/src/main/java/org/bdware/server/nodecenter/FileActions.java b/src/main/java/org/bdware/server/nodecenter/FileActions.java index 41acac1..cebb699 100644 --- a/src/main/java/org/bdware/server/nodecenter/FileActions.java +++ b/src/main/java/org/bdware/server/nodecenter/FileActions.java @@ -1,9 +1,6 @@ package org.bdware.server.nodecenter; -import com.google.gson.JsonArray; import com.google.gson.JsonObject; -import com.google.gson.JsonParser; -import com.jcraft.jsch.Session; import io.netty.buffer.Unpooled; import io.netty.channel.ChannelFuture; import io.netty.channel.ChannelFutureListener; @@ -18,21 +15,13 @@ import org.bdware.sc.conn.ResultCallback; import org.bdware.sc.db.CMTables; import org.bdware.sc.db.KeyValueDBUtil; import org.bdware.sc.db.TimeDBUtil; -import org.bdware.sc.http.HttpUtil; import org.bdware.sc.util.FileUtil; import org.bdware.sc.util.JsonUtil; import org.bdware.server.action.Action; - - import org.bdware.server.http.HttpMethod; import org.bdware.server.http.URIPath; import org.bdware.server.permission.Role; -import org.bouncycastle.crypto.CryptoException; -import org.bouncycastle.pqc.math.linearalgebra.ByteUtils; -import org.zz.gmhelper.SM2KeyPair; import org.zz.gmhelper.SM2Util; -import org.bdware.client.SmartContractClient; - import java.io.*; import java.lang.reflect.Method; @@ -50,7 +39,6 @@ public class FileActions { static NodeCenterWSFrameHandler handler; - public FileActions(NodeCenterWSFrameHandler nodeCenterWSFrameHandler) { handler = nodeCenterWSFrameHandler; } @@ -478,4 +466,4 @@ public class FileActions { List subFiles; } - } +}