Skip to content

Conversation

@schauder
Copy link
Contributor

@schauder schauder commented Feb 2, 2017

Repositories in RepositoryCorsConfigurationAccessor may be null now. findCorsConfiguration returns null when no repositories are provided.

Copy link
Member

@mp911de mp911de left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One tiny comment, besides LGTM

assertThat(configuration.getMaxAge(), is(1234L));
}


Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this blank line 🙃

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Copy link
Member

@odrotbohm odrotbohm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, beyond that tiny remark about property order. Feel free to merge back once that's resolved.

private final @NonNull ResourceMappings mappings;
private final @NonNull Repositories repositories;
private final Repositories repositories;
private final @NonNull StringValueResolver embeddedValueResolver;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's change the order (StringValueResolver before Repositories) so that we also have the constructor taking all non-null properties first.

…rMapping.

Repositories in RepositoryCorsConfigurationAccessor may be null now. findCorsConfiguration returns null when no repositories are provided.

Original pull request: #257.
schauder added a commit that referenced this pull request Feb 3, 2017
…rMapping.

Repositories in RepositoryCorsConfigurationAccessor may be null now. findCorsConfiguration returns null when no repositories are provided.

Original pull request: #257.
schauder added a commit that referenced this pull request Feb 3, 2017
…rMapping.

Repositories in RepositoryCorsConfigurationAccessor may be null now. findCorsConfiguration returns null when no repositories are provided.

Original pull request: #257.
schauder added a commit that referenced this pull request Feb 3, 2017
…rMapping.

Repositories in RepositoryCorsConfigurationAccessor may be null now. findCorsConfiguration returns null when no repositories are provided.

Original pull request: #257.
@schauder
Copy link
Contributor Author

schauder commented Feb 3, 2017

Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants