-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor DatasetResource and DatasetAccessResource (#3210)
This PR refactors the codes style of the `DatasetResource` and `DatasetAccessResource`. Specifically, the refactoring principles are: 1. Move all the function definition in `object`, that are only being used within the `class`, to the `class` 2. Uniform the way of interacting with jooq: use either jooq raw query, or Dao, not both. 3. Flatten single-kv-pair case classes. 4. Flatten the single-line function.
- Loading branch information
Showing
9 changed files
with
250 additions
and
335 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.