Skip to content
This repository was archived by the owner on Feb 16, 2024. It is now read-only.

Conversation

@ijsong
Copy link
Contributor

@ijsong ijsong commented Dec 8, 2016

Issue: https://issues.apache.org/jira/browse/S2GRAPH-107

This PR has really big changes, but those are mostly related to code styles. In this PR, I changed level of some rules in scalastyle from warning to error. Many projects raise error rather than warning when scalastyle checker fails. In near future, we are able to change warning rule to raise error by do refactoring codebase. (I will create another issue to do refactoring our codebase according to some published scala best practice and design pattern.)

Tools related to code style which we use:

  • Scalafmt
  • Scalastyle

// val newConf = new util.HashMap[String, Object]()
// newConf.put("hbase.zookeeper.quorum", zkQuorum)
// newConf.put("db.default.url", database)
// newConf.put("kafka.metadata.broker.list", kafkaBrokers)
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we remove this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@HyunsungJo Yes, we can remove comments which have no useful information.

@HyunsungJo
Copy link
Contributor

@ijsong,
Thank you for the contribution!

@SteamShon
Copy link
Contributor

@ijsong seems like I should merge this before #105 , #106 , #103(sorry about this conflicts). Can please you merge upstream master then update this PR?

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