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

CE-99: use camelCase consistently for variable names containing 'ID' and 'URL' #666

Merged
merged 7 commits into from
Aug 24, 2023

Conversation

ialarmedalien
Copy link
Collaborator

@ialarmedalien ialarmedalien commented Feb 6, 2023

AKA the pull request of the beast

This PR converts the acronyms and abbreviations used in credit engine field names to use camel case, instead of a mixture of camel case and all caps. This promotes legibility and allows devs to apply consistent rules to method and attribute naming instead of having to wonder which acronyms do get all caps (ID? URL? HTTP? etc.) and which don't.

See https://google.github.io/styleguide/javaguide.html#s5.3-camel-case for the rules used.

@ialarmedalien ialarmedalien self-assigned this Feb 6, 2023
@codecov
Copy link

codecov bot commented Feb 6, 2023

Codecov Report

Merging #666 (f4ff7d7) into develop (cdf7705) will not change coverage.
The diff coverage is 90.47%.

Additional details and impacted files
@@            Coverage Diff             @@
##             develop     #666   +/-   ##
==========================================
  Coverage      86.70%   86.70%           
  Complexity      5399     5399           
==========================================
  Files            242      242           
  Lines          18288    18288           
  Branches        2677     2677           
==========================================
  Hits           15857    15857           
  Misses          1962     1962           
  Partials         469      469           

Base automatically changed from CE-99_credit_metadata to develop February 22, 2023 00:15
@ialarmedalien ialarmedalien marked this pull request as ready for review February 24, 2023 16:23
@ialarmedalien ialarmedalien changed the base branch from develop to CE-100_credit_metadata_entry February 24, 2023 16:23
Base automatically changed from CE-100_credit_metadata_entry to develop February 24, 2023 19:32
@ialarmedalien ialarmedalien changed the title CE-99: switching to using lowercase for ID and URL in variable names CE-99: use camelCase consistently for variable names containing 'ID' and 'URL' Mar 2, 2023
@@ -40,7 +40,7 @@ while [ $counter -lt $max_retries ]; do
fi
echo "Waiting for the workspace to be ready..."
counter=$(( counter + 1))
sleep 2
sleep 5
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

wait slightly longer during test start up in case GitHub is being slow

Copy link
Member

@MrCreosote MrCreosote left a comment

Choose a reason for hiding this comment

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

LGTM

@ialarmedalien ialarmedalien merged commit 50a2c96 into develop Aug 24, 2023
10 checks passed
@ialarmedalien ialarmedalien deleted the CE-99_case_changes branch August 24, 2023 20:29
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.

2 participants