Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix saving of source code root folders #263

Merged
merged 1 commit into from
Nov 8, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -879,6 +879,14 @@
<justification>Dependencies are not being checked, so they are reported as missing</justification>
</item>
</revapi.ignore>
<revapi.ignore>
<item>
<regex>false</regex>
<code>java.method.parameterTypeChanged</code>
<classSimpleName>WarningsPluginConfiguration</classSimpleName>
<justification>Nobody should depend on that method</justification>
</item>
</revapi.ignore>
</analysisConfiguration>
</configuration>
<executions>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public List<SourceDirectory> getSourceDirectories() {
* the source directories that contain the affected files
*/
@DataBoundSetter
public void setSourceDirectories(final Collection<SourceDirectory> sourceDirectories) {
public void setSourceDirectories(final List<SourceDirectory> sourceDirectories) {
this.sourceDirectories = new ArrayList<>(sourceDirectories);

PathUtil pathUtil = new PathUtil();
Expand All @@ -87,7 +87,7 @@ public void setSourceDirectories(final Collection<SourceDirectory> sourceDirecto
/**
* Filters the specified collection of additional directories so that only permitted source directories will be
* returned. Permitted source directories are absolute paths that have been registered using {@link
* #setSourceDirectories(Collection)} or relative paths in the workspace.
* #setSourceDirectories(List)} or relative paths in the workspace.
*
* @param workspace
* the workspace containing the affected files
Expand Down