-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add toString() method to LifecycleRule #6856
Conversation
…cloud-java into lifecycleruletostring
…cloud-java into lifecycleruletostring
…cloud-java into lifecycleruletostring
Codecov Report
@@ Coverage Diff @@
## master #6856 +/- ##
============================================
- Coverage 46.37% 46.37% -0.01%
Complexity 28028 28028
============================================
Files 2615 2615
Lines 288309 288325 +16
Branches 33809 33809
============================================
Hits 133709 133709
- Misses 144334 144350 +16
Partials 10266 10266
Continue to review full report at Codecov.
|
@Override | ||
public String toString() { | ||
return MoreObjects.toStringHelper(this) | ||
.add("action", lifecycleAction.getActionType()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you do a toString() for ActionType? It's missing setStorageClass information in this case.
…cloud-java into lifecycleruletostring
…cloud-java into lifecycleruletostring
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks @JesseLovelace!
Adds toString() method to LifecycleRule