Skip to content

Commit

Permalink
style: apply spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
euberdeveloper committed Sep 6, 2024
1 parent 81b30c0 commit bfdfd55
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion core/src/main/java/de/jplag/JPlag.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
import java.util.ResourceBundle;
import java.util.Set;

import de.jplag.exceptions.RootDirectoryException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import de.jplag.clustering.ClusteringFactory;
import de.jplag.exceptions.ExitException;
import de.jplag.exceptions.RootDirectoryException;
import de.jplag.exceptions.SubmissionException;
import de.jplag.merging.MatchMerging;
import de.jplag.options.JPlagOptions;
Expand Down
3 changes: 1 addition & 2 deletions core/src/main/java/de/jplag/SubmissionSetBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,7 @@ private Submission processSubmission(String submissionName, File submissionFile,
return new Submission(submissionName, file, isNew, parseFilesRecursively(file), options.language());
}

private void processSubmissionFile(SubmissionFileData file, boolean multipleRoots,
Map<File, Submission> foundSubmissions) throws ExitException {
private void processSubmissionFile(SubmissionFileData file, boolean multipleRoots, Map<File, Submission> foundSubmissions) throws ExitException {
if (isFileExcluded(file.submissionFile())) {
logger.error("Exclude submission: {}", file.submissionFile().getName());
} else if (file.submissionFile().isFile() && !hasValidSuffix(file.submissionFile())) {
Expand Down
2 changes: 1 addition & 1 deletion core/src/test/java/de/jplag/RootFolderTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
import java.io.File;
import java.util.List;

import de.jplag.exceptions.RootDirectoryException;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;

import de.jplag.exceptions.ExitException;
import de.jplag.exceptions.RootDirectoryException;

/**
* Test class for the multi-root feature and the old-new feature.
Expand Down

0 comments on commit bfdfd55

Please sign in to comment.