Skip to content

Commit

Permalink
Tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
bitwiseman committed Sep 16, 2024
1 parent 2fcc55a commit 2df18c1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,9 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.8.0</version>
<version>3.10.0</version>
<configuration>
<source>11</source>
<release>11</release>
<failOnWarnings>true</failOnWarnings>
<doclint>all</doclint>
Expand Down Expand Up @@ -279,6 +280,7 @@
<configuration>
<source>11</source>
<target>11</target>
<release>11</release>
<annotationProcessorPaths>
<annotationProcessorPath>
<groupId>org.jenkins-ci</groupId>
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/org/kohsuke/github/GHMyself.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import java.util.Map;
import java.util.Set;
import java.util.TreeMap;
import java.util.stream.Collectors;

// TODO: Auto-generated Javadoc
/**
Expand Down Expand Up @@ -47,7 +48,7 @@ public enum RepositoryListFilter {
*/
@Deprecated
public List<String> getEmails() throws IOException {
return listEmails().toList().stream().map(email -> email.getEmail()).toList();
return listEmails().toList().stream().map(email -> email.getEmail()).collect(Collectors.toList());
}

/**
Expand Down

0 comments on commit 2df18c1

Please sign in to comment.