Skip to content

Conversation

@vlyubin
Copy link
Contributor

@vlyubin vlyubin commented Apr 6, 2015

The function uses .substring(0, X), which will trigger OutOfBoundsException if string length is less than X. A better way to do this is to use startsWith, which won't error out in this case.

@SparkQA
Copy link

SparkQA commented Apr 6, 2015

Test build #29761 has started for PR 5378 at commit 504e8e0.

@SparkQA
Copy link

SparkQA commented Apr 7, 2015

Test build #29761 has finished for PR 5378 at commit 504e8e0.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.
  • This patch does not change any dependencies.

@AmplabJenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/29761/
Test PASSed.

@aarondav
Copy link
Contributor

aarondav commented Apr 7, 2015

LGTM, merging into master. Thanks!

@asfgit asfgit closed this in e40ea87 Apr 7, 2015
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.

4 participants