Skip to content
This repository was archived by the owner on Jan 23, 2020. It is now read-only.

code formatting and linting#160

Merged
gzussa merged 6 commits into
masterfrom
gzu/linting
Aug 16, 2019
Merged

code formatting and linting#160
gzussa merged 6 commits into
masterfrom
gzu/linting

Conversation

@gzussa

@gzussa gzussa commented Aug 14, 2019

Copy link
Copy Markdown
Contributor

No description provided.

@gzussa
gzussa requested a review from nmuesch August 14, 2019 18:27

@nmuesch nmuesch left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Overall looks good, nice cleanup! Left a few comments/questions

import hudson.model.Run;
import hudson.model.TaskListener;
import hudson.model.*;
import hudson.model.listeners.RunListener;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Do we need this sub import if we're doing hudson.model.* right above?

import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
import java.util.logging.Level;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

not used?

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.

no

*
* @return - A boolean that checks if the targetMetricURL is valid
*/
public static boolean isValidMetricURL(final String targetMetricURL) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why remove?

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.

It's not being used AFAICT

@gzussa
gzussa merged commit 15e7efb into master Aug 16, 2019
@gzussa gzussa changed the title code formating and linting code formatting and linting Aug 16, 2019
@gzussa
gzussa deleted the gzu/linting branch November 12, 2019 13:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants