Skip to content

Conversation

@lordcheng10
Copy link
Contributor

Motivation

Accessing the static variables and methods of the class through the object reference of this class will increase the cost of the compiler's analysis. A better way is to directly use the class name to access the static variables or methods.

…bject reference of this class will increase the cost of the compiler's analysis. A better way is to directly use the class name to access the static variables or methods.
Copy link
Contributor

@nicoloboschi nicoloboschi left a comment

Choose a reason for hiding this comment

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

LGTM

@lordcheng10
Copy link
Contributor Author

@dlg99 PTAL , thanks!

@lordcheng10
Copy link
Contributor Author

rerun failed checks

5 similar comments
@lordcheng10
Copy link
Contributor Author

rerun failed checks

@lordcheng10
Copy link
Contributor Author

rerun failed checks

@lordcheng10
Copy link
Contributor Author

rerun failed checks

@lordcheng10
Copy link
Contributor Author

rerun failed checks

@lordcheng10
Copy link
Contributor Author

rerun failed checks

@dlg99
Copy link
Contributor

dlg99 commented Oct 15, 2021

tests are failing with

Execution failed for task ':bookkeeper-common:compileTestJava'.
> Could not resolve all files for configuration ':bookkeeper-common:testCompileClasspath'.
   > Could not find log4j:log4j:1.2.27.

which is probably something caused by #2816 nd gradle changes colliding
@RaulGracia @pkumar-singh can you take a look at this?

@pkumar-singh
Copy link
Member

pkumar-singh commented Oct 15, 2021

This PR from @RaulGracia #2816 should have fixed it. Kindly check @dlg99

@lordcheng10
Copy link
Contributor Author

lordcheng10 commented Oct 15, 2021

This PR from @RaulGracia #2816 should have fixed it. Kindly check @dlg99

@dlg99 @pkumar-singh Thanks for your attention, I merge the master code into my branch and try again。

@lordcheng10
Copy link
Contributor Author

@hsaputra PTAL , thanks!

@lordcheng10
Copy link
Contributor Author

PTAL,thanks! @dlg99

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants