Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
JCR Resource 3.2.0
-
None
Description
while working on SLING-10011 i noticed a considerable amount of issues reported by sonar, which are trivial to fix and would improve overall code quality.
apart from sonar findings we should fix
- inconsistent formatting
- unused imports
- missing nullable/notnull annotations
- complexity
Attachments
Issue Links
- relates to
-
SLING-10011 Use JackrabbitSession.getParentOrNull when resolving parent JCR node in JcrResourceProvider#getParent
-
- Closed
-
1.
|
Fix inconsistent formatting |
|
Closed | Angela Schreiber | ||||||||
2.
|
Fix nullable/notnull annotations |
|
Closed | Angela Schreiber | ||||||||
3.
|
Fix redundant constructs |
|
Closed | Angela Schreiber | ||||||||
4.
|
Fix javadoc problems |
|
Closed | Angela Schreiber | ||||||||
5.
|
JcrListenerBaseConfig references wrong class in logger |
|
Closed | Angela Schreiber | ||||||||
6.
|
Sonar findings (excluding complexity and nullable/notnull annotations) |
|
Closed | Angela Schreiber |
|
|||||||
7.
|
Potential NPE as ResolveContext.getProviderState() is nullable |
|
Closed | Angela Schreiber |
|
|||||||
8.
|
Add missing notnull/nullable annotations |
|
Closed | Angela Schreiber |
|
|||||||
9.
|
Reduce complexity |
|
Closed | Angela Schreiber |
|
|||||||
10.
|
Simplify JcrPropertyMapCacheEntry.convertToType |
|
Closed | Angela Schreiber |
|