Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.