Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

DATAREST-994 - Fixed two argument constructor of RepositoryRestHandlerMapping #257

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

Closed
schauder wants to merge 1 commit into master from DATAREST-994

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

@mp911de mp911de Feb 2, 2017

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

@schauder schauder Feb 2, 2017

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 @NonNullRepositories repositories;
private final Repositories repositories;
private final @NonNull StringValueResolver embeddedValueResolver;
Copy link
Member

@odrotbohm odrotbohm Feb 2, 2017

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.
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

Reviewers

@odrotbohm odrotbohm odrotbohm requested changes

@mp911de mp911de mp911de approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /