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.java.bean.ActionException;
import com.imyeyu.java.bean.CallbackArg;
import com.imyeyu.java.bean.timi.TimiException;
import com.imyeyu.utils.OS;
import java.io.File;
@@ -274,12 +274,12 @@ public abstract class AbstractRunner<T extends AbstractRunner<T>> implements OS.
* @return 规范化后的名称
*/
protected String normalizeEntryName(String entryName) {
TimiException.required(entryName, "not found entryName");
ActionException.required(entryName, "not found entryName");
String normalized = entryName.replace('\\', '/');
while (normalized.startsWith("/")) {
normalized = normalized.substring(1);
}
TimiException.required(normalized, "not found normalized entryName");
ActionException.required(normalized, "not found normalized entryName");
return normalized;
}
}