Skip to content
This repository has been archived by the owner on Sep 20, 2022. It is now read-only.

[HIVEMALL-192] Fix typos: graphvis -> graphviz #146

Closed
wants to merge 2 commits into from

Conversation

takuti
Copy link
Member

@takuti takuti commented Apr 18, 2018

What changes were proposed in this pull request?

Fix crucial typos.

What type of PR is it?

Improvement

What is the Jira issue?

https://issues.apache.org/jira/browse/HIVEMALL-192

Checklist

  • Did you apply source code formatter, i.e., mvn formatter:format, for your commit?


@Nonnull
public static OutputType resolve(@Nonnull String name) throws UDFArgumentException {
if ("js".equalsIgnoreCase(name) || "javascript".equalsIgnoreCase(name)) {
return javascript;
} else if ("dot".equalsIgnoreCase(name) || "graphvis".equalsIgnoreCase(name)) {
return graphvis;
} else if ("dot".equalsIgnoreCase(name) || "graphviz".equalsIgnoreCase(name)) {
Copy link
Member

Choose a reason for hiding this comment

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

better to have "graphvis".equalsIgnoreCase(name) for backward compatibility.

Copy link
Member

Choose a reason for hiding this comment

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

if("dot".equalsIgnoreCase(name) || "graphviz".equalsIgnoreCase(name) || "graphvis".equalsIgnoreCase(name))

Copy link
Member Author

Choose a reason for hiding this comment

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

@myui
Copy link
Member

myui commented Apr 18, 2018

@takuti LGTM! You can merge this PR.

@asfgit asfgit closed this in 6c4ec01 Apr 18, 2018
@takuti takuti deleted the HIVEMALL-192 branch April 18, 2018 08:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants