/** * @deprecated Since 1.9, it is preferable to use {@link #without} instead; * this method is deprecated as it modifies current instance instead of * creating a new one (as the goal is to make this class immutable) */ @Deprecated @Override public void disable(DeserializationConfig.Feature f) { super.disable(f); }
/** * @deprecated Since 1.9, it is preferable to use {@link #without} instead; * this method is deprecated as it modifies current instance instead of * creating a new one (as the goal is to make this class immutable) */ @Deprecated @Override public void disable(SerializationConfig.Feature f) { super.disable(f); }
/** * Method for enabling or disabling specified feature. * * @deprecated Since 1.9, it is preferable to use {@link #with} and * {@link #without} methods instead; * this method is deprecated as it modifies current instance instead of * creating a new one (as the goal is to make this class immutable) */ @SuppressWarnings("deprecation") @Deprecated public void set(CFG f, boolean state) { if (state) { enable(f); } else { disable(f); } } }
/** * Method for enabling or disabling specified feature. * * @deprecated Since 1.9, it is preferable to use {@link #with} and * {@link #without} methods instead; * this method is deprecated as it modifies current instance instead of * creating a new one (as the goal is to make this class immutable) */ @SuppressWarnings("deprecation") @Deprecated public final void set(CFG f, boolean state) { if (state) { enable(f); } else { disable(f); } } }
/** * Method for enabling or disabling specified feature. * * @deprecated Since 1.9, it is preferable to use {@link #with} and * {@link #without} methods instead; * this method is deprecated as it modifies current instance instead of * creating a new one (as the goal is to make this class immutable) */ @SuppressWarnings("deprecation") @Deprecated public void set(CFG f, boolean state) { if (state) { enable(f); } else { disable(f); } } }
/** * @deprecated Since 1.9, it is preferable to use {@link #without} instead; * this method is deprecated as it modifies current instance instead of * creating a new one (as the goal is to make this class immutable) */ @Deprecated @Override public void disable(SerializationConfig.Feature f) { super.disable(f); }
/** * @deprecated Since 1.9, it is preferable to use {@link #without} instead; * this method is deprecated as it modifies current instance instead of * creating a new one (as the goal is to make this class immutable) */ @Deprecated @Override public void disable(DeserializationConfig.Feature f) { super.disable(f); }
/** * Method for enabling or disabling specified feature. * * @deprecated Since 1.9, it is preferable to use {@link #with} and * {@link #without} methods instead; * this method is deprecated as it modifies current instance instead of * creating a new one (as the goal is to make this class immutable) */ @SuppressWarnings("deprecation") @Deprecated public void set(CFG f, boolean state) { if (state) { enable(f); } else { disable(f); } } }
/** * @deprecated Since 1.9, it is preferable to use {@link #without} instead; * this method is deprecated as it modifies current instance instead of * creating a new one (as the goal is to make this class immutable) */ @Deprecated @Override public void disable(SerializationConfig.Feature f) { super.disable(f); }
/** * @deprecated Since 1.9, it is preferable to use {@link #without} instead; * this method is deprecated as it modifies current instance instead of * creating a new one (as the goal is to make this class immutable) */ @Deprecated @Override public void disable(DeserializationConfig.Feature f) { super.disable(f); }