This project has adopted the following coding standards:
LOGGER.exiting()call should include the value that is going to be returned from the method, unless that value includes a credential or other sensitive information.
src/main/resources/Operator.propertiesand using a key itemized in
sleep()or IO or lock-based blocking methods.
The following IDE plugins are available to assist with following the code formatting standards
An IntelliJ plugin is available from the plugin repository.
The plugin will be enabled by default. To disable it in the current project, go to
File > Settings... > google-java-format Settings (or
IntelliJ IDEA > Preferences... > Other Settings > google-java-format Settings on macOS) and uncheck the “Enable google-java-format” checkbox.
To disable it by default in new projects, use
File > Other Settings > Default Settings....
When enabled, it will replace the normal “Reformat Code” action, which can be triggered from the “Code” menu or with the Ctrl-Alt-L (by default) keyboard shortcut.
The import ordering is not handled by this plugin, unfortunately. To fix the import order, download the IntelliJ Java Google Style file and import it into File→Settings→Editor→Code Style.
The plugin adds a google-java-format formatter implementation that can be configured in
Eclipse > Preferences > Java > Code Style > Formatter > Formatter Implementation.