v0.1.0
CI/CD / build-deploy (pull_request) Successful in 11s

This commit is contained in:
Timi
2026-10-01 18:51:03 +08:00
parent 98402f2255
commit 44f6897b84
4 changed files with 13 additions and 13 deletions
@@ -1,7 +1,7 @@
package com.imyeyu.compress;
import com.imyeyu.io.IO;
import com.imyeyu.java.bean.timi.TimiException;
import com.imyeyu.java.bean.ActionException;
import java.io.File;
import java.io.OutputStream;
@@ -25,7 +25,7 @@ public abstract class Compressor<T extends Compressor<T>> extends AbstractRunner
* @return 当前压缩器
*/
protected T of(String fromPath) {
TimiException.required(fromPath, "not found fromPath");
ActionException.required(fromPath, "not found fromPath");
this.fromPath = fromPath;
return self();
}
@@ -37,7 +37,7 @@ public abstract class Compressor<T extends Compressor<T>> extends AbstractRunner
* @return 当前压缩器
*/
protected T of(File fromFile) {
TimiException.required(fromFile, "not found fromFile");
ActionException.required(fromFile, "not found fromFile");
return of(fromFile.getAbsolutePath());
}
@@ -83,7 +83,7 @@ public abstract class Compressor<T extends Compressor<T>> extends AbstractRunner
* @return 源路径
*/
protected String requireFromPath() {
TimiException.required(fromPath, "not found source");
ActionException.required(fromPath, "not found source");
return fromPath;
}