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

Removed dependency on spring-content-rest #37

Merged
merged 3 commits into from
Apr 13, 2022
Merged

Conversation

tgeens
Copy link
Contributor

@tgeens tgeens commented Apr 11, 2022

Thunx has a dependency on the spring-content-rest module, for a single utility method: find the field with annotation @Id on a domain class.

This PR inlines (and simplifies) this method and drops the unnecessary dependency on spring-content-rest

@tgeens
Copy link
Contributor Author

tgeens commented Apr 12, 2022

I'd probably need some test for this.

}

private static Optional<Field> findFieldWithAnnotation(Class<?> domainObjClass,
Class<? extends Annotation> annotationClass)
Copy link
Member

Choose a reason for hiding this comment

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

Bizarre indentation, not aligned with anything? It should just have the normal continuation indent of pressing tab twice, like you did for the throws line under this.

@tgeens tgeens merged commit ea06467 into main Apr 13, 2022
@tgeens tgeens deleted the remove-dep-spring-content branch April 13, 2022 11:38
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.

2 participants