-
Notifications
You must be signed in to change notification settings - Fork 751
CodingStyle
Henry Haiying Cai edited this page Feb 13, 2015
·
12 revisions
- Author: Henry
- Reviewer: Yinan
The code formatting standard in this project is based on the Oracle/Sun Code Convention and Google Java Style.
The coding style is consistent with most of the open source projects with the following callout:
- Naming Conventions
- Import statement Do not use 'star' imports
- Indentation
- White space
- Comments
- Compound statements
- Eclipse
- Download the codetyle-eclipse.xml, Import the file through Preferences > Java > Code Style > Formatter
- Download the prefs-eclipse.epf, Import the file File > Import > General > Preferences
- IntelliJ
- Download the codestyle-intellij.xml, Copy the file to ~/.IntelliJIdeal3/config/codestyles on Linux (or $HOME/Library/Preferences/IntelliJIdeal3/codestyles on Mac)
- Restart the IDE
- Go to File > Settings > Code Style > General > Scheme to select the new style
- Home
- [Getting Started](Getting Started)
- Architecture
- User Guide
- Working with Job Configuration Files
- [Deployment](Gobblin Deployment)
- Gobblin on Yarn
- Compaction
- [State Management and Watermarks] (State-Management-and-Watermarks)
- Working with the ForkOperator
- [Configuration Glossary](Configuration Properties Glossary)
- [Partitioned Writers](Partitioned Writers)
- Monitoring
- Schedulers
- [Job Execution History Store](Job Execution History Store)
- Gobblin Build Options
- Troubleshooting
- [FAQs] (FAQs)
- Case Studies
- Gobblin Metrics
- [Quick Start](Gobblin Metrics)
- [Existing Reporters](Existing Reporters)
- [Metrics for Gobblin ETL](Metrics for Gobblin ETL)
- [Gobblin Metrics Architecture](Gobblin Metrics Architecture)
- [Implementing New Reporters](Implementing New Reporters)
- [Gobblin Metrics Performance](Gobblin Metrics Performance)
- Developer Guide
- [Customization: New Source](Customization for New Source)
- [Customization: Converter/Operator](Customization for Converter and Operator)
- Code Style Guide
- IDE setup
- Monitoring Design
- Project
- [Feature List](Feature List)
- Contributors/Team
- [Talks/Tech Blogs](Talks and Tech Blogs)
- News/Roadmap
- Posts
- Miscellaneous