Skip to content

Minor Improvements#22

Merged
garydgregory merged 13 commits intoapache:masterfrom
arturobernalg:feature/minor_improvement
Feb 6, 2021
Merged

Minor Improvements#22
garydgregory merged 13 commits intoapache:masterfrom
arturobernalg:feature/minor_improvement

Conversation

@arturobernalg
Copy link
Member

  • Add final
  • Remove redundant initializer
  • Replace String in loop by StringBuilder
  • Use Empty array

* Add final
* Remove redundant initializer
* Replace String in loop by StringBuilder
* Use Empty  array
private final Invoker shutdown;

/**
* An empty immutable {@code String} array.
Copy link
Member

Choose a reason for hiding this comment

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

This does not need to be public does it?

Copy link
Member Author

Choose a reason for hiding this comment

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

Changed

@garydgregory
Copy link
Member

Also please rebase on master to pick up the GitHub build addition.

System.err.println("SimpleDaemon: instance "+this.hashCode()+
" created");
this.handlers=new Vector<Handler>();
this.HANDLERS =new Vector<Handler>();
Copy link
Member

Choose a reason for hiding this comment

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

Why is this upper case?

Copy link
Member Author

Choose a reason for hiding this comment

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

changed

Copy link
Member

Choose a reason for hiding this comment

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

It is still upper case.

@garydgregory garydgregory changed the title Minor Improvement: Minor Improvements Feb 5, 2021
@garydgregory garydgregory merged commit 1f6b619 into apache:master Feb 6, 2021
asfgit pushed a commit that referenced this pull request Feb 6, 2021
@arturobernalg arturobernalg deleted the feature/minor_improvement branch June 14, 2021 18:14
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.

5 participants