Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@BraisGabin
Copy link
Member

From the documentation:

It is also strongly advised that explicit serialVersionUID declarations use the private modifier where possible, since such declarations apply only to the immediately declaring class--serialVersionUID fields are not useful as inherited members.

@codecov
Copy link

codecov bot commented Feb 21, 2023

Codecov Report

Merging #5798 (4e7cd90) into main (2367650) will decrease coverage by 0.01%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##               main    #5798      +/-   ##
============================================
- Coverage     84.59%   84.59%   -0.01%     
+ Complexity     3790     3777      -13     
============================================
  Files           546      546              
  Lines         12918    12915       -3     
  Branches       2268     2268              
============================================
- Hits          10928    10925       -3     
  Misses          861      861              
  Partials       1129     1129              
Impacted Files Coverage Δ
...rules/style/SerialVersionUIDInSerializableClass.kt 78.37% <0.00%> (-0.57%) ⬇️
.../detekt/rules/naming/ConstructorParameterNaming.kt 88.57% <0.00%> (-0.32%) ⬇️
...bosch/detekt/rules/naming/BooleanPropertyNaming.kt 94.11% <0.00%> (-0.17%) ⬇️
...b/arturbosch/detekt/rules/naming/FunctionNaming.kt 100.00% <0.00%> (ø)
...b/arturbosch/detekt/rules/naming/VariableNaming.kt 88.57% <0.00%> (ø)
...sch/detekt/rules/naming/FunctionParameterNaming.kt 89.28% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@BraisGabin BraisGabin added this to the 1.23.0 milestone Feb 21, 2023
Copy link
Member

@cortinico cortinico left a comment

Choose a reason for hiding this comment

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

LGTM 👍

…/rules/style/SerialVersionUIDInSerializableClass.kt

Co-authored-by: Nicola Corti <[email protected]>
@BraisGabin BraisGabin enabled auto-merge (squash) February 26, 2023 13:07
@BraisGabin BraisGabin merged commit 30d24ea into main Feb 26, 2023
@BraisGabin BraisGabin deleted the improve-serial-version-uid branch February 26, 2023 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants