This constructor is no longer used and the class should not be subclassed.
Remove it.
Change-Id: If7b8d470ea66b2a99ec2fe9c4b978571c2413ff1
Signed-off-by: Robert Varga <rovarga@cisco.com>
* by no means final and subject to change as more functionality is centralized here.
*/
@Beta
* by no means final and subject to change as more functionality is centralized here.
*/
@Beta
-public class XmlStreamUtils {
+public final class XmlStreamUtils {
private static final Logger LOG = LoggerFactory.getLogger(XmlStreamUtils.class);
private final XmlCodecProvider codecProvider;
private final Optional<SchemaContext> schemaContext;
private static final Logger LOG = LoggerFactory.getLogger(XmlStreamUtils.class);
private final XmlCodecProvider codecProvider;
private final Optional<SchemaContext> schemaContext;
- /**
- * @deprecated Use {@link #create(XmlCodecProvider)} instead. This method will be hidden and the class
- * made final in a future release.
- */
- @Deprecated
- protected XmlStreamUtils(final XmlCodecProvider codecProvider) {
- this(codecProvider, null);
- }
-
private XmlStreamUtils(final XmlCodecProvider codecProvider, final SchemaContext schemaContext) {
this.codecProvider = Preconditions.checkNotNull(codecProvider);
this.schemaContext = Optional.fromNullable(schemaContext);
private XmlStreamUtils(final XmlCodecProvider codecProvider, final SchemaContext schemaContext) {
this.codecProvider = Preconditions.checkNotNull(codecProvider);
this.schemaContext = Optional.fromNullable(schemaContext);