Skip to content

Commit

Permalink
Fix some warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed Mar 1, 2021
1 parent 2b97896 commit 891e0ea
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<dependency>
<groupId>edu.hm.hafner</groupId>
<artifactId>autograding-model</artifactId>
<version>1.2.0</version>
<version>1.2.1-SNAPSHOT</version>
<exclusions>
<exclusion>
<groupId>edu.hm.hafner</groupId>
Expand All @@ -49,7 +49,7 @@
<dependency>
<groupId>org.kohsuke</groupId>
<artifactId>github-api</artifactId>
<version>1.122</version>
<version>1.123</version>
</dependency>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
package edu.hm.hafner.grading;

import java.util.List;
import java.util.stream.Collectors;

import edu.hm.hafner.analysis.Report;
import edu.hm.hafner.analysis.parser.violations.PitAdapter;

/**
* Provides static analysis scores by converting corresponding {@link Report} instances.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ void shouldReturnProvidedTestPattern() {

@Test
void shouldReturnProvidedAnalysisPattern() {
assertThat(new GradingConfiguration(
"{\n"
assertThat(new GradingConfiguration("{\n"
+ " \"analysis\": {\n"
+ " \"pattern\": \"File.*\",\n"
+ " \"maxScore\": 100,\n"
Expand Down

0 comments on commit 891e0ea

Please sign in to comment.