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:
Joe Wang 2017-03-14 18:56:46 -07:00
parent 8cdac73eda
commit f06d4ccfc9
7 changed files with 8 additions and 8 deletions

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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
{

View File

@ -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();