File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
src/main/java/com/fasterxml/jackson/core Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -800,6 +800,7 @@ public JsonFactory disable(JsonFactory.Feature f) {
800
800
*
801
801
* @return True if the specified feature is enabled
802
802
*/
803
+ @ Override
803
804
public final boolean isEnabled (JsonFactory .Feature f ) {
804
805
return (_factoryFeatures & f .getMask ()) != 0 ;
805
806
}
@@ -968,6 +969,7 @@ public final boolean isEnabled(JsonParser.Feature f) {
968
969
*
969
970
* @since 2.10
970
971
*/
972
+ @ Override
971
973
public final boolean isEnabled (StreamReadFeature f ) {
972
974
return (_parserFeatures & f .mappedFeature ().getMask ()) != 0 ;
973
975
}
@@ -1063,6 +1065,7 @@ public final boolean isEnabled(JsonGenerator.Feature f) {
1063
1065
*
1064
1066
* @since 2.10
1065
1067
*/
1068
+ @ Override
1066
1069
public final boolean isEnabled (StreamWriteFeature f ) {
1067
1070
return (_generatorFeatures & f .mappedFeature ().getMask ()) != 0 ;
1068
1071
}
Original file line number Diff line number Diff line change @@ -128,6 +128,11 @@ public abstract class TokenStreamFactory
128
128
/**********************************************************************
129
129
*/
130
130
131
+ public abstract boolean isEnabled (JsonFactory .Feature f );
132
+
133
+ public abstract boolean isEnabled (StreamReadFeature f );
134
+ public abstract boolean isEnabled (StreamWriteFeature f );
135
+
131
136
public abstract boolean isEnabled (JsonParser .Feature f );
132
137
public abstract boolean isEnabled (JsonGenerator .Feature f );
133
138
You can’t perform that action at this time.
0 commit comments