-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
HBASE-23621 Reduced the number of Checkstyle violations in tests of hbase-common #1030
HBASE-23621 Reduced the number of Checkstyle violations in tests of hbase-common #1030
Conversation
This comment has been minimized.
This comment has been minimized.
67a40db
to
f66a2d9
Compare
This comment has been minimized.
This comment has been minimized.
🎊 +1 overall
This message was automatically generated. |
* licenses this file to you under the Apache License, Version 2.0 (the | ||
* "License"); you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
/** |
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.
this is a file header and not a javadoc, shouldn't it be using /*
and not /**
?
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.
Fixed
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
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.
A question below but LGTM. Nice.
consume(doCreateCellScanner(1, 1), 1 * 1); | ||
consume(doCreateCellScanner(3, 0), 3 * 0); | ||
consume(doCreateCellScanner(1, 1), 1); | ||
consume(doCreateCellScanner(3, 0), 0); |
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.
Smile
private int baseTimestampDivide = 1000000; | ||
private int timestampDiffSize = 100000000; | ||
private int baseTimestampDivide; | ||
private int timestampDiffSize; |
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.
The values are overwritten later?
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.
They are both overwritten in the constructor above.
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.
Ok. Good.
I'm still +1. |
Backport of #967 to branch-1.