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 @@ -787,6 +787,7 @@ public JsonFactory disable(JsonFactory.Feature f) {
787787 *
788788 * @return True if the specified feature is enabled
789789 */
790+ @ Override
790791 public final boolean isEnabled (JsonFactory .Feature f ) {
791792 return (_factoryFeatures & f .getMask ()) != 0 ;
792793 }
@@ -955,6 +956,7 @@ public final boolean isEnabled(JsonParser.Feature f) {
955956 *
956957 * @since 2.10
957958 */
959+ @ Override
958960 public final boolean isEnabled (StreamReadFeature f ) {
959961 return (_parserFeatures & f .mappedFeature ().getMask ()) != 0 ;
960962 }
@@ -1050,6 +1052,7 @@ public final boolean isEnabled(JsonGenerator.Feature f) {
10501052 *
10511053 * @since 2.10
10521054 */
1055+ @ Override
10531056 public final boolean isEnabled (StreamWriteFeature f ) {
10541057 return (_generatorFeatures & f .mappedFeature ().getMask ()) != 0 ;
10551058 }
Original file line number Diff line number Diff line change @@ -128,6 +128,11 @@ public abstract class TokenStreamFactory
128128 /**********************************************************************
129129 */
130130
131+ public abstract boolean isEnabled (JsonFactory .Feature f );
132+
133+ public abstract boolean isEnabled (StreamReadFeature f );
134+ public abstract boolean isEnabled (StreamWriteFeature f );
135+
131136 public abstract boolean isEnabled (JsonParser .Feature f );
132137 public abstract boolean isEnabled (JsonGenerator .Feature f );
133138
You can’t perform that action at this time.
0 commit comments