-
Notifications
You must be signed in to change notification settings - Fork 386
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
[#2150] Improvement : Arguments in incorrect order fixed with correct order #2297
Conversation
Hi it looks like you have more than one issue here can you revert the changes related to Distribution? |
This reverts commit cfa8fa9.
oh yes , apologies i have reverted the commit |
Thanks for fixing that. |
@jerryshao thats not a problem , i will add the test for it |
@jerryshao i dont see existing test so can i add only for this method or all :) |
It's better to add all tests for partitionDTO( |
@jerryshao @mchades i added the necessary tests however while running the build against jdk17 i am coming across below error, can you kindly let me know how to fix this?
|
You can push the codes, so that we can see detailed information from GitHub's CI. |
Seems like the license header issue, did you add the license header to this |
@jerryshao there is already license header, the other problem was i was using static import, i fixed it but still build fails with same problem :( |
If you push your changes we should be able to work out what the issue is. |
@jerryshao my bad i earlier wrote new UT for this, but have moved now to TestJsonUtils.java :) , its good now, will commit it |
@mchades would you please help to review. |
common/src/test/java/com/datastrato/gravitino/json/TestJsonUtils.java
Outdated
Show resolved
Hide resolved
common/src/test/java/com/datastrato/gravitino/json/TestJsonUtils.java
Outdated
Show resolved
Hide resolved
common/src/test/java/com/datastrato/gravitino/json/TestJsonUtils.java
Outdated
Show resolved
Hide resolved
@mchades i am having weird issue with spotlessJava formatting , if i execute this all the imports are gone, can you kindly assist? |
@mchades its my IDE problem, do we have a settings file that can be imported for Intellij? |
FYI: then modify: |
@@ -0,0 +1,184 @@ | |||
/* | |||
* Copyright 2023 Datastrato Pvt Ltd. |
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.
2023 -> 2024
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.
@mchades done and thanks for settings!
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
Merged, thanks for addressing the comments and improving the codebase! |
What changes were proposed in this pull request?
Why are the changes needed?
Does this PR introduce any user-facing change?
How was this patch tested?