Skip to content

Commit

Permalink
Minor clarifications to coding style doc
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Dec 18, 2023
1 parent c90bb23 commit 5e3e1c3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions contribution/jackson-coding-style-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ Import statements should be grouped and ordered in the following manner:
3. **Jackson Core Types**: Next, import Jackson core types, in the order of annotations, core, and databind.
4. **Component-Specific Types**: For non-core Jackson components, import component-specific types last.

Static import statements should be grouped after non-static ones, using same ordering.

So, for example we might have:

```java
import java.io.*; // JDK imports
import java.util.*;
Expand All @@ -66,6 +70,8 @@ import com.fasterxml.jackson.other.modules.*; // and some Component-specific imp

### Field Naming

Standard Java Language naming recommendation (camel-case) is followed with following modifications:

- **Non-Public Fields**: Prefix non-public member fields with an underscore (e.g., `_fieldName`).

### Method Naming
Expand Down

0 comments on commit 5e3e1c3

Please sign in to comment.