Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
fb834898
Commit
fb834898
authored
Jun 18, 2018
by
Johnny Lim
Committed by
Stephane Nicoll
Jun 19, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use final keywords for Map fields in JacksonProperties
Closes gh-13517
parent
3a01914b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
JacksonProperties.java
...amework/boot/autoconfigure/jackson/JacksonProperties.java
+6
-6
No files found.
spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jackson/JacksonProperties.java
View file @
fb834898
...
@@ -65,36 +65,36 @@ public class JacksonProperties {
...
@@ -65,36 +65,36 @@ public class JacksonProperties {
* Jackson visibility thresholds that can be used to limit which methods (and fields)
* Jackson visibility thresholds that can be used to limit which methods (and fields)
* are auto-detected.
* are auto-detected.
*/
*/
private
Map
<
PropertyAccessor
,
JsonAutoDetect
.
Visibility
>
visibility
=
new
EnumMap
<>(
private
final
Map
<
PropertyAccessor
,
JsonAutoDetect
.
Visibility
>
visibility
=
new
EnumMap
<>(
PropertyAccessor
.
class
);
PropertyAccessor
.
class
);
/**
/**
* Jackson on/off features that affect the way Java objects are serialized.
* Jackson on/off features that affect the way Java objects are serialized.
*/
*/
private
Map
<
SerializationFeature
,
Boolean
>
serialization
=
new
EnumMap
<>(
private
final
Map
<
SerializationFeature
,
Boolean
>
serialization
=
new
EnumMap
<>(
SerializationFeature
.
class
);
SerializationFeature
.
class
);
/**
/**
* Jackson on/off features that affect the way Java objects are deserialized.
* Jackson on/off features that affect the way Java objects are deserialized.
*/
*/
private
Map
<
DeserializationFeature
,
Boolean
>
deserialization
=
new
EnumMap
<>(
private
final
Map
<
DeserializationFeature
,
Boolean
>
deserialization
=
new
EnumMap
<>(
DeserializationFeature
.
class
);
DeserializationFeature
.
class
);
/**
/**
* Jackson general purpose on/off features.
* Jackson general purpose on/off features.
*/
*/
private
Map
<
MapperFeature
,
Boolean
>
mapper
=
new
EnumMap
<>(
MapperFeature
.
class
);
private
final
Map
<
MapperFeature
,
Boolean
>
mapper
=
new
EnumMap
<>(
MapperFeature
.
class
);
/**
/**
* Jackson on/off features for parsers.
* Jackson on/off features for parsers.
*/
*/
private
Map
<
JsonParser
.
Feature
,
Boolean
>
parser
=
new
EnumMap
<>(
private
final
Map
<
JsonParser
.
Feature
,
Boolean
>
parser
=
new
EnumMap
<>(
JsonParser
.
Feature
.
class
);
JsonParser
.
Feature
.
class
);
/**
/**
* Jackson on/off features for generators.
* Jackson on/off features for generators.
*/
*/
private
Map
<
JsonGenerator
.
Feature
,
Boolean
>
generator
=
new
EnumMap
<>(
private
final
Map
<
JsonGenerator
.
Feature
,
Boolean
>
generator
=
new
EnumMap
<>(
JsonGenerator
.
Feature
.
class
);
JsonGenerator
.
Feature
.
class
);
/**
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment