-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add checkstyle plugin to check code style #193
Conversation
94bc3e5
to
b974573
Compare
@@ -82,8 +82,10 @@ public EdgeMapping mapping() { | |||
int size = Math.max(sources.size(), targets.size()); | |||
List<Edge> edges = new ArrayList<>(size); | |||
for (int i = 0; i < size; i++) { | |||
Vertex source = i < sources.size() ? sources.get(i) : sources.get(0); | |||
Vertex target = i < targets.size() ? targets.get(i) : targets.get(0); | |||
Vertex source = i < sources.size() ? sources.get(i) : |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
prefer to wrap line after "?"
Vertex target = i < targets.size() ? targets.get(i) : targets.get(0); | ||
Vertex source = i < sources.size() ? sources.get(i) : | ||
sources.get(0); | ||
Vertex target = i < targets.size() ? targets.get(i) : |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
this.timeZone = timeZone != null ? timeZone : Constants.TIME_ZONE; | ||
this.skippedLine = skippedLine != null ? skippedLine : new SkippedLine(); | ||
this.skippedLine = skippedLine != null ? skippedLine : | ||
new SkippedLine(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
Change-Id: Ieb294cbe7d9fafa4ed468b965abe61135cafd50d
Change-Id: Ieb294cbe7d9fafa4ed468b965abe61135cafd50d