Skip to content

FFmpegUtils - Polish Javadoc#45

Merged
bramp merged 2 commits intobramp:progressfrom
stonio:patch-7
Jun 24, 2016
Merged

FFmpegUtils - Polish Javadoc#45
bramp merged 2 commits intobramp:progressfrom
stonio:patch-7

Conversation

@stonio
Copy link
Copy Markdown
Contributor

@stonio stonio commented Jun 23, 2016

No description provided.

* Helper class with commonly used methods
*/
public final class FFmpegUtils {
public abstract class FFmpegUtils {
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

I would expect anyone to extend this class (which is what abstract implies). Instead I used a final class, with private constructor. http://stackoverflow.com/questions/25223553/how-can-i-create-an-utility-class

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

typo: I wouldn't expect anyone to extend this class (which is what abstract implies). Instead I used a final class, with private constructor.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

You're right.

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

If you can change this back to public final class FFmpegUtils I can accept the pull request.

@stonio stonio closed this Jun 23, 2016
@bramp
Copy link
Copy Markdown
Owner

bramp commented Jun 23, 2016

There were other unrelated changed in this that were good. Feel free to reopen and rename the problem.

@stonio stonio changed the title FFmpegUtils - Make class abstract FFmpegUtils - polish Javadoc Jun 23, 2016
@stonio stonio changed the title FFmpegUtils - polish Javadoc FFmpegUtils - Polish Javadoc Jun 23, 2016
@stonio stonio reopened this Jun 23, 2016
@bramp bramp merged commit b1ae6a1 into bramp:progress Jun 24, 2016
bramp pushed a commit that referenced this pull request Jun 26, 2016
@stonio stonio deleted the patch-7 branch June 27, 2016 08:06
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