Skip to content

Cleanup on Connection, ConnectionManagerId, ConnectionManager classes part 2 #1157

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

Closed
wants to merge 2 commits into from
Closed

Cleanup on Connection, ConnectionManagerId, ConnectionManager classes part 2 #1157

wants to merge 2 commits into from

Conversation

hsaputra
Copy link
Contributor

Cleanup on Connection, ConnectionManagerId, and ConnectionManager classes part 2 while I was working at the code there to help IDE:

  1. Remove unused imports
  2. Remove parentheses in method calls that do not have side affect.
  3. Add parentheses in method calls that do have side effect or not simple get to object properties.
  4. Change if-else check (via isInstanceOf) for Connection class type with Scala expression for consistency and cleanliness.
  5. Remove semicolon
  6. Remove extra spaces.
  7. Remove redundant return for consistency

…s working at the code there to help IDE:

1. Remove unused imports
2. Remove parentheses in method calls that do not have side affect.
3. Add parentheses in method calls that do have side effect.
4. Change if-else check (via isInstanceOf) for Connection class type with Scala expression for consitency and cleanliness.
5. Remove semicolon
6. Remove extra spaces.
@AmplabJenkins
Copy link

Merged build triggered.

@AmplabJenkins
Copy link

Merged build started.

@AmplabJenkins
Copy link

Merged build finished.

@AmplabJenkins
Copy link

Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/15961/

@rxin
Copy link
Contributor

rxin commented Jun 23, 2014

Jenkins, retest this please.

@rxin
Copy link
Contributor

rxin commented Jun 23, 2014

The changes LGTM.

@AmplabJenkins
Copy link

Merged build triggered.

@AmplabJenkins
Copy link

Merged build started.

@AmplabJenkins
Copy link

Merged build finished.

@AmplabJenkins
Copy link

Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/16020/

@hsaputra
Copy link
Contributor Author

Just push changes to fix Scalastyle checks for over 100 char in a line.

@AmplabJenkins
Copy link

Merged build triggered.

@AmplabJenkins
Copy link

Merged build started.

@AmplabJenkins
Copy link

Merged build finished.

@AmplabJenkins
Copy link

Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/16038/

@rxin
Copy link
Contributor

rxin commented Jun 23, 2014

Jenkins, retest this please.

@AmplabJenkins
Copy link

Merged build triggered.

@AmplabJenkins
Copy link

Merged build started.

@AmplabJenkins
Copy link

Merged build finished.

@AmplabJenkins
Copy link

Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/16039/

@hsaputra
Copy link
Contributor Author

Somehow the build is timed out, maybe running out resource to execute tests? =(

@rxin
Copy link
Contributor

rxin commented Jun 23, 2014

Jenkins, retest this please.

@AmplabJenkins
Copy link

Merged build triggered.

@AmplabJenkins
Copy link

Merged build started.

@AmplabJenkins
Copy link

Merged build finished. All automated tests passed.

@AmplabJenkins
Copy link

All automated tests passed.
Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/16042/

@rxin
Copy link
Contributor

rxin commented Jun 24, 2014

Ok I'm merging this in master. Thanks!

@asfgit asfgit closed this in 383bf72 Jun 24, 2014
@hsaputra
Copy link
Contributor Author

Thanks @rxin ! =)

pdeyhim pushed a commit to pdeyhim/spark-1 that referenced this pull request Jun 25, 2014
… part 2

Cleanup on Connection, ConnectionManagerId, and ConnectionManager classes part 2 while I was working at the code there to help IDE:
1. Remove unused imports
2. Remove parentheses in method calls that do not have side affect.
3. Add parentheses in method calls that do have side effect or not simple get to object properties.
4. Change if-else check (via isInstanceOf) for Connection class type with Scala expression for consistency and cleanliness.
5. Remove semicolon
6. Remove extra spaces.
7. Remove redundant return for consistency

Author: Henry Saputra <[email protected]>

Closes apache#1157 from hsaputra/cleanup_connection_classes_part2 and squashes the following commits:

4be6906 [Henry Saputra] Fix Spark Scala style for line over 100 chars.
85b24f7 [Henry Saputra] Cleanup on Connection and ConnectionManager classes part 2 while I was working at the code there to help IDE: 1. Remove unused imports 2. Remove parentheses in method calls that do not have side affect. 3. Add parentheses in method calls that do have side effect. 4. Change if-else check (via isInstanceOf) for Connection class type with Scala expression for consitency and cleanliness. 5. Remove semicolon 6. Remove extra spaces.
xiliu82 pushed a commit to xiliu82/spark that referenced this pull request Sep 4, 2014
… part 2

Cleanup on Connection, ConnectionManagerId, and ConnectionManager classes part 2 while I was working at the code there to help IDE:
1. Remove unused imports
2. Remove parentheses in method calls that do not have side affect.
3. Add parentheses in method calls that do have side effect or not simple get to object properties.
4. Change if-else check (via isInstanceOf) for Connection class type with Scala expression for consistency and cleanliness.
5. Remove semicolon
6. Remove extra spaces.
7. Remove redundant return for consistency

Author: Henry Saputra <[email protected]>

Closes apache#1157 from hsaputra/cleanup_connection_classes_part2 and squashes the following commits:

4be6906 [Henry Saputra] Fix Spark Scala style for line over 100 chars.
85b24f7 [Henry Saputra] Cleanup on Connection and ConnectionManager classes part 2 while I was working at the code there to help IDE: 1. Remove unused imports 2. Remove parentheses in method calls that do not have side affect. 3. Add parentheses in method calls that do have side effect. 4. Change if-else check (via isInstanceOf) for Connection class type with Scala expression for consitency and cleanliness. 5. Remove semicolon 6. Remove extra spaces.
wangyum added a commit that referenced this pull request May 26, 2023
#1157)

* Update AdaptiveBloomFilterJoin.scala

* Update AdaptiveBloomFilterJoin.scala
udaynpusa pushed a commit to mapr/spark that referenced this pull request Jan 30, 2024
mapr-devops pushed a commit to mapr/spark that referenced this pull request May 8, 2025
…ocumentation of build workflow

MapR [DFDEVOPS-3022] Add an option to easily modify build images per component (apache#1153)

MapR [SPARK-1225] Invoke deploy during first build

MapR [SPARK-1237] "No such file or directory" when installing Spark 3.3.3 packages (apache#1157)

Update Jenkinsfile top use main branch with shared-library

MapR [SPARK-1225] Move dist dir to devops/dist

Co-authored-by: Anatoliy Shevchuk <[email protected]>
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.

3 participants