Skip to content

Commit

Permalink
[update][core] Remove ununsed import
Browse files Browse the repository at this point in the history
  • Loading branch information
wgzhao committed Dec 7, 2023
1 parent c0889a9 commit 00c5355
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public void pushTerminate(TerminateRecord r)

public void pushAll(Collection<Record> rs)
{
Validate.notNull(rs);
Validate.notNull(rs, "The Record must not be empty");
Validate.noNullElements(rs);
this.doPushAll(rs);
this.statPush(rs.size(), this.getByteSize(rs));
Expand All @@ -142,7 +142,7 @@ public Record pull()

public void pullAll(Collection<Record> rs)
{
Validate.notNull(rs);
Validate.notNull(rs, "The Record must not be empty");
this.doPullAll(rs);
this.statPull(rs.size(), this.getByteSize(rs));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,13 @@
import com.wgzhao.addax.core.transport.transformer.TransformerRegistry;
import com.wgzhao.addax.core.util.container.CoreConstant;
import org.apache.commons.io.FileUtils;
import org.apache.commons.io.FilenameUtils;
import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.io.File;
import java.io.IOException;
import java.nio.charset.Charset;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.List;

Expand Down

0 comments on commit 00c5355

Please sign in to comment.