Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .checkstyle/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@

<module name="TreeWalker">
<module name="JavadocVariable">
<property name="scope" value="public"/>
<property name="accessModifiers" value="public"/>
</module>
<module name="MissingJavadocType">
<property name="scope" value="public"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ private <I, O> void makeData(final List<FieldData<I, O>> fields, final String na

// TypeSerializer //

public static final String CLASS_KEY = "__class__";
static final String CLASS_KEY = "__class__";

@Override
public Object deserialize(final Type type, final ConfigurationNode node) throws SerializationException {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,18 +77,34 @@ public static MapFactory insertionOrdered() {
}

private enum DefaultFactory implements MapFactory {
/**
* A factory creating maps with no order contract.
*
* @since 4.0.0
*/
UNORDERED {
@Override
public <K, V> ConcurrentMap<K, V> create() {
return new ConcurrentHashMap<>();
}
},
/**
* A factory creating maps which sort comparable elements by
* natural order.
*
* @since 4.0.0
*/
SORTED_NATURAL {
@Override
public <K, V> ConcurrentMap<K, V> create() {
return new ConcurrentSkipListMap<>();
}
},
/**
* A factory creating maps that preserve insertion order.
*
* @since 4.0.0
*/
INSERTION_ORDERED {
@Override
public <K, V> Map<K, V> create() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ public static void main(final String[] args) throws SerializationException {
/**
* A mood that a message may have.
*/
@SuppressWarnings("checkstyle:JavadocVariable")
enum Mood {

HAPPY, SAD, CONFUSED, NEUTRAL;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,7 @@ protected void loadInternal(final AttributedConfigurationNode node, final Buffer
throw new UnsupportedOperationException("XMLConfigurationLoader provides custom loading logic to handle headers");
}

@SuppressWarnings("checkstyle:JavadocVariable") // false positive, private enum
private enum NodeType {
MAP, LIST
}
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
assertj="3.27.3"
autoValue="1.11.0"
checkerQual="3.49.2"
checkstyle="10.21.4"
checkstyle="10.23.0"
geantyref = "1.3.16"
errorprone="2.38.0"
indra = "3.1.3"
Expand Down