Skip to content

Conversation

@arucard21
Copy link
Contributor

What changes were proposed in this pull request?

We found that Scalastyle was disabled in BlockReplicationPolicy.scala because there was a URL in there that caused the line length to be exceeded. The URL was to a stackexchange.com site which actually accepts shortened versions of their normal URL as well. So we could replace the URL with the officially supported shortened version and enable Scalastyle again since this no longer exceeds the line length. I also changed the URL from http to https since the site automatically redirects to https anyway.

How was this patch tested?

We tested this by running ./dev/lint-scala. First we ran it with the long URL to ensure that it actually detects the violation. Then we changed this to the shortened URL and ran it again. This time it said Scalastyle checks passed.

Co-contributors:

@chialun-yeh
@Hrayo712
@vpourquie

@AmplabJenkins
Copy link

Can one of the admins verify this patch?

@arucard21
Copy link
Contributor Author

This change has been included in #20880 so a separate PR isn't necessary for it.

@arucard21 arucard21 closed this Mar 22, 2018
@arucard21 arucard21 deleted the scalastyle_storage branch March 22, 2018 15:37
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