Skip to content
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

Rename in RequestType enum according to Feng-Shui. #262

Conversation

Yury-Fridlyand
Copy link

Taken from #220

  1. renames like Hvals to HVals
  2. renames like HashDel to HDel
  3. renames of the corresponding functions
  4. {G,S}etString renamed to {G,S}et

All renames (except HashSet) were done with Ctrl+Shift+H magic

Signed-off-by: Yury-Fridlyand <[email protected]>
Copy link

@jonathanl-bq jonathanl-bq left a comment

Choose a reason for hiding this comment

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

Left a question, but otherwise seems fine to me.


public class RedisClientTest {

// bypass import conflict between Set (collection) and Set (enum variant)
private static final RequestType pSet = RequestType.Set;

Choose a reason for hiding this comment

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

What does the "p" in "pSet" stand for?

Copy link
Author

Choose a reason for hiding this comment

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

protobuf
I agree it is bad naming

Copy link

@acarbonetto acarbonetto left a comment

Choose a reason for hiding this comment

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

We should also update TTL and LOLWUT

Yury-Fridlyand and others added 2 commits May 6, 2024 20:12
Signed-off-by: Yury-Fridlyand <[email protected]>

Co-authored-by: Andrew Carbonetto <[email protected]>
Signed-off-by: Yury-Fridlyand <[email protected]>
@Yury-Fridlyand Yury-Fridlyand merged commit 61f1e2c into core/integ_yuryf_rename_in_proto May 7, 2024
44 checks passed
@Yury-Fridlyand Yury-Fridlyand deleted the core/dev_yuryf_rename_in_proto branch May 7, 2024 04:02
Yury-Fridlyand added a commit that referenced this pull request May 10, 2024
…o#1387)

* Rename in `RequestType` enum according to Feng-Shui. (#262)

Signed-off-by: Yury-Fridlyand <[email protected]>
Co-authored-by: Andrew Carbonetto <[email protected]>
cyip10 pushed a commit that referenced this pull request Jun 24, 2024
…o#1387)

* Rename in `RequestType` enum according to Feng-Shui. (#262)

Signed-off-by: Yury-Fridlyand <[email protected]>
Co-authored-by: Andrew Carbonetto <[email protected]>
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