mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-05 13:40:18 +00:00
8176541: XML deprecation "since" values should use 1.x version form for 1.8 and earlier
Reviewed-by: darcy, rriggs, smarks
This commit is contained in:
parent
8cdac73eda
commit
f06d4ccfc9
@ -155,7 +155,7 @@ public abstract class XMLEventFactory {
|
||||
* #newFactory(java.lang.String, java.lang.ClassLoader)}
|
||||
* method defines no changes in behavior.
|
||||
*/
|
||||
@Deprecated(since="7")
|
||||
@Deprecated(since="1.7")
|
||||
public static XMLEventFactory newInstance(String factoryId,
|
||||
ClassLoader classLoader)
|
||||
throws FactoryConfigurationError {
|
||||
|
||||
@ -222,7 +222,7 @@ public abstract class XMLInputFactory {
|
||||
* java.util.ServiceConfigurationError service configuration error} or if
|
||||
* the implementation is not available or cannot be instantiated.
|
||||
*/
|
||||
@Deprecated(since="7")
|
||||
@Deprecated(since="1.7")
|
||||
public static XMLInputFactory newFactory()
|
||||
throws FactoryConfigurationError
|
||||
{
|
||||
@ -244,7 +244,7 @@ public abstract class XMLInputFactory {
|
||||
* #newFactory(java.lang.String, java.lang.ClassLoader)} method
|
||||
* defines no changes in behavior.
|
||||
*/
|
||||
@Deprecated(since="7")
|
||||
@Deprecated(since="1.7")
|
||||
public static XMLInputFactory newInstance(String factoryId,
|
||||
ClassLoader classLoader)
|
||||
throws FactoryConfigurationError {
|
||||
|
||||
@ -222,7 +222,7 @@ public abstract class XMLOutputFactory {
|
||||
* Use the new method {@link #newFactory(java.lang.String,
|
||||
* java.lang.ClassLoader)} instead.
|
||||
*/
|
||||
@Deprecated(since="7")
|
||||
@Deprecated(since="1.7")
|
||||
public static XMLInputFactory newInstance(String factoryId,
|
||||
ClassLoader classLoader)
|
||||
throws FactoryConfigurationError {
|
||||
|
||||
@ -93,7 +93,7 @@ package org.xml.sax;
|
||||
* @see org.xml.sax.DocumentHandler#startElement startElement
|
||||
* @see org.xml.sax.helpers.AttributeListImpl AttributeListImpl
|
||||
*/
|
||||
@Deprecated(since="5")
|
||||
@Deprecated(since="1.5")
|
||||
public interface AttributeList {
|
||||
|
||||
|
||||
|
||||
@ -68,7 +68,7 @@ package org.xml.sax;
|
||||
* @see org.xml.sax.Locator
|
||||
* @see org.xml.sax.HandlerBase
|
||||
*/
|
||||
@Deprecated(since="5")
|
||||
@Deprecated(since="1.5")
|
||||
public interface DocumentHandler {
|
||||
|
||||
|
||||
|
||||
@ -73,7 +73,7 @@ import java.util.Locale;
|
||||
* @see org.xml.sax.HandlerBase
|
||||
* @see org.xml.sax.InputSource
|
||||
*/
|
||||
@Deprecated(since="5")
|
||||
@Deprecated(since="1.5")
|
||||
public interface Parser
|
||||
{
|
||||
|
||||
|
||||
@ -64,7 +64,7 @@ package org.xml.sax.helpers;
|
||||
* @version 2.0.1 (sax2r2)
|
||||
*/
|
||||
@SuppressWarnings( "deprecation" )
|
||||
@Deprecated(since="5")
|
||||
@Deprecated(since="1.5")
|
||||
public class ParserFactory {
|
||||
private static SecuritySupport ss = new SecuritySupport();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user