Skip to content

Conversation

@rbshealy
Copy link
Contributor

@rbshealy rbshealy commented Aug 7, 2020

Javadoc comments allow the user to understand the purpose of each method within the DynamicArray class.

cleanup within the class covers:
Condense imports
Initialize fields in constructor
Change binary shifting to simple multiplication reassignment for better understanding
Add brackets to multi-line if statements
Change name of size() method to getSize() to reflect purpose of the method
remove extra white-space
remove 2 lines of unnecessary commented out code

closes #1400

@rbshealy
Copy link
Contributor Author

@StepfenShawn Could you kindly review this?

@StepfenShawn StepfenShawn merged commit ab88fed into TheAlgorithms:master Aug 13, 2020
@StepfenShawn
Copy link
Member

Thanks!

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.

Add javadoc comments to DynamicArray.java

2 participants