Commit b1e8b44
Refactorings 22 (#3189)
* removed unused variable
* static imports, this, final
* simplified data structure
* static imports, final, this
* renamed variables, replaces class with lambda
* removed unused methods, renamed method, rewritten method in functional style
* moved BitSet to ...user package as it is only used by DataverseRole class, made it package private
* manual formatting
* removed unused method, optimized comparator not to allocate Long(0)
* added bitsValue to Permission
* improved performance of permission checking
* refactored BitSet out, removed BitSet
* introduced permission streaming method
* comments addressed
---------
Co-authored-by: lbownik <lbownik@icm.edu.pl>1 parent e4d0dd8 commit b1e8b44
File tree
17 files changed
+279
-450
lines changed- fairchive-persistence/src
- main/java/edu/harvard/iq/dataverse
- common
- persistence/user
- test/java/edu/harvard/iq/dataverse
- common
- persistence/user
- fairchive-webapp/src
- main/java/edu/harvard/iq/dataverse
- api
- dto
- authorization
- datafile
- page
- engine/command/impl
- permission
- test/java/edu/harvard/iq/dataverse/engine
17 files changed
+279
-450
lines changedLines changed: 0 additions & 133 deletions
This file was deleted.
0 commit comments