mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-14 09:53:18 +00:00
8250638: Address reliance on default constructors in java.xml
Reviewed-by: darcy, lancea
This commit is contained in:
parent
dc71097c2e
commit
024fa0969a
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2000, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -58,7 +58,10 @@ package org.xml.sax;
|
||||
public class HandlerBase
|
||||
implements EntityResolver, DTDHandler, DocumentHandler, ErrorHandler
|
||||
{
|
||||
|
||||
/**
|
||||
* Constructs a {@code HandlerBase}.
|
||||
*/
|
||||
public HandlerBase() {}
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Default implementation of the EntityResolver interface.
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2000, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -70,7 +70,10 @@ import org.xml.sax.SAXParseException;
|
||||
public class DefaultHandler
|
||||
implements EntityResolver, DTDHandler, ContentHandler, ErrorHandler
|
||||
{
|
||||
|
||||
/**
|
||||
* Constructs a {@code DefaultHandler}.
|
||||
*/
|
||||
public DefaultHandler() {}
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Default implementation of the EntityResolver interface.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user