[
https://issues.apache.org/jira/browse/CURATOR-238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mike Drob updated CURATOR-238:
------------------------------
Attachment: netbeans.zip
Attached is a tentative style file created in NetBeans 8.0 editor. It was
modelled after the existing style guide, but I'm sure I might have missed
something.
I tried formatting a couple of files locally and the two major discrepancies
that I saw were:
# JavaDoc line wrapping length. I didn't see one in the existing template. What
should this be set to?
# Spaces in variable/method declarations. e.g.
{code}
- int previousValue = (previous != null) ?
bytesToValue(previous) : 0;
- int newValue = previousValue + addAmount;
+ int previousValue = (previous != null) ?
bytesToValue(previous) : 0;
+ int newValue = previousValue + addAmount;
{code}
I'm not sure that this one is possible to solve programatically (or maybe IDEA
is way more advanced than I know) so I'm tempted to leave this as a known
short-coming in the derived style-guides.
> Create code style file for NetBeans
> -----------------------------------
>
> Key: CURATOR-238
> URL: https://issues.apache.org/jira/browse/CURATOR-238
> Project: Apache Curator
> Issue Type: Sub-task
> Components: Documentation
> Reporter: Mike Drob
> Priority: Minor
> Attachments: netbeans.zip
>
>
> See parent task for context.
> Create an importable code style file for NetBeans that mirrors the existing
> "JZ" style.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)