del[util]: remove util module

This commit is contained in:
godotg committed 2023-09-02 21:11:50 +08:00
1 parent 353d40d5fe
commit e4bcd22bc7
17 files changed
+13 -253

No files matched your search

-6
View File
@@ -56,12 +56,6 @@
</properties>
<dependencies>
<dependency>
<groupId>com.zfoo</groupId>
<artifactId>util</artifactId>
<version>${zfoo.version}</version>
</dependency>
<dependency>
<groupId>com.zfoo</groupId>
<artifactId>scheduler</artifactId>
@@ -1,7 +1,5 @@
package com.zfoo.hotswap.model;
import com.zfoo.util.security.MD5Utils;
/**
* @author godotg
* @version 3.0
@@ -12,14 +10,12 @@ public class ClassFileDef {
private String className;
private byte[] data;
private long lastModifyTime;
private String md5;
public ClassFileDef(String className, String path, long lastModifyTime, byte[] data) {
this.className = className;
this.path = path;
this.lastModifyTime = lastModifyTime;
this.data = data;
this.md5 = MD5Utils.bytesToMD5(data);
}
public String getPath() {
@@ -54,11 +50,4 @@ public class ClassFileDef {
this.lastModifyTime = lastModifyTime;
}
public String getMd5() {
return md5;
}
public void setMd5(String md5) {
this.md5 = md5;
}
}