diff --git a/src/java.base/share/classes/java/lang/Runtime.java b/src/java.base/share/classes/java/lang/Runtime.java index d3d49ba120b..e11eaacbf5d 100644 --- a/src/java.base/share/classes/java/lang/Runtime.java +++ b/src/java.base/share/classes/java/lang/Runtime.java @@ -1140,7 +1140,7 @@ public class Runtime { * number is not the major-release number but the feature-release * counter, incremented for every time-based release. Use the {@link * #feature()} method in preference to this method. For compatibility, - * this method returns the value of the feature + * this method returns the value of the feature * element. * * @return The value of the feature element @@ -1158,7 +1158,7 @@ public class Runtime { * number is not the minor-release number but the interim-release * counter, incremented for every interim release. Use the {@link * #interim()} method in preference to this method. For compatibility, - * this method returns the value of the interim + * this method returns the value of the interim * element, or zero if it is absent. * * @return The value of the interim element, or zero @@ -1176,7 +1176,7 @@ public class Runtime { * number is not the security level but the update-release counter, * incremented for every update release. Use the {@link #update()} * method in preference to this method. For compatibility, this method - * returns the value of the update element, or + * returns the value of the update element, or * zero if it is absent. * * @return The value of the update element, or zero @@ -1188,9 +1188,9 @@ public class Runtime { /** * Returns an unmodifiable {@link java.util.List List} of the integers - * represented in the version number. The {@code - * List} always contains at least one element corresponding to the feature version number. + * represented in the version number. + * The {@code List} always contains at least one element corresponding to + * the feature version number. * * @return An unmodifiable list of the integers * represented in the version number diff --git a/src/java.base/share/classes/java/lang/package-info.java b/src/java.base/share/classes/java/lang/package-info.java index 5868aee8fcf..882a610c1a0 100644 --- a/src/java.base/share/classes/java/lang/package-info.java +++ b/src/java.base/share/classes/java/lang/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1998, 2018, 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,7 @@ * represent errors and exceptions. * * - *
Many operating systems and file systems support for symbolic links. * A symbolic link is a special file that serves as a reference to another file. * For the most part, symbolic links are transparent to applications and @@ -45,7 +45,7 @@ * that are semantically close but support for these other types of links is * not included in this package.
* - *The {@link java.io.File} class defines the {@link java.io.File#toPath * toPath} method to construct a {@link java.nio.file.Path} by converting * the abstract path represented by the {@code java.io.File} object. The resulting @@ -54,7 +54,7 @@ * on the interoperability between {@code Path} * and {@code java.io.File} objects.
* - *The view of the files and file system provided by classes in this package are * guaranteed to be consistent with other views provided by other instances in the * same Java virtual machine. The view may or may not, however, be consistent with @@ -65,7 +65,7 @@ * or on some other machine. The exact nature of any such inconsistencies are * system-dependent and are therefore unspecified.
* - *The {@link java.nio.file.StandardOpenOption#SYNC SYNC} and {@link * java.nio.file.StandardOpenOption#DSYNC DSYNC} options are used when opening a file * to require that updates to the file are written synchronously to the underlying @@ -82,7 +82,7 @@ * java.nio.file.spi.FileSystemProvider provider} implementations is provider * specific.
* - *Unless otherwise noted, passing a {@code null} argument to a constructor * or method of any class or interface in this package will cause a {@link * java.lang.NullPointerException NullPointerException} to be thrown. Additionally, @@ -103,7 +103,7 @@ * provider} with a parameter that is an object created by another provider, * will throw {@link java.nio.file.ProviderMismatchException}.
* - ** This example lists todays date for all of the available calendars. *
@@ -155,7 +155,7 @@ * first, last); * * - ** Unless otherwise noted, passing a null argument to a constructor or method in any class or interface * in this package will cause a {@link java.lang.NullPointerException NullPointerException} to be thrown. diff --git a/src/java.base/share/classes/java/time/format/package-info.java b/src/java.base/share/classes/java/time/format/package-info.java index 3b5d0964a07..d4f1ce784f5 100644 --- a/src/java.base/share/classes/java/time/format/package-info.java +++ b/src/java.base/share/classes/java/time/format/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2018, 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 @@ -79,7 +79,7 @@ * {@link java.time.format.DecimalStyle DecimalStyle}. *
* - ** Unless otherwise noted, passing a null argument to a constructor or method in any class or interface * in this package will cause a {@link java.lang.NullPointerException NullPointerException} to be thrown. diff --git a/src/java.base/share/classes/java/time/package-info.java b/src/java.base/share/classes/java/time/package-info.java index f078a08306d..be783ba9481 100644 --- a/src/java.base/share/classes/java/time/package-info.java +++ b/src/java.base/share/classes/java/time/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2018, 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 @@ -90,7 +90,7 @@ * The calendar neutral API should be reserved for interactions with users. *
* - ** {@link java.time.Instant} is essentially a numeric timestamp. * The current Instant can be retrieved from a {@link java.time.Clock}. @@ -118,7 +118,7 @@ * The widespread use of time-zones tends to add considerable complexity to an application. *
* - ** Beyond dates and times, the API also allows the storage of periods and durations of time. * A {@link java.time.Duration} is a simple measure of time along the time-line in nanoseconds. @@ -126,7 +126,7 @@ * to humans, such as years or days. *
* - ** {@link java.time.Month} stores a month on its own. * This stores a single month-of-year in isolation, such as 'DECEMBER'. @@ -160,7 +160,7 @@ * but contains less information than a full time-zone. *
* - ** Unless otherwise noted, passing a null argument to a constructor or method in any class or interface * in this package will cause a {@link java.lang.NullPointerException NullPointerException} to be thrown. @@ -172,7 +172,7 @@ * or a {@link java.time.DateTimeException}. *
* - ** The API has been designed to reject null early and to be clear about this behavior. * A key exception is any method that takes an object and returns a boolean, for the purpose diff --git a/src/java.base/share/classes/java/time/temporal/package-info.java b/src/java.base/share/classes/java/time/temporal/package-info.java index 1cb16dd7b7d..25b228fee73 100644 --- a/src/java.base/share/classes/java/time/temporal/package-info.java +++ b/src/java.base/share/classes/java/time/temporal/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2018, 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 @@ -75,7 +75,7 @@ *
* Dates and times are expressed in terms of fields and units. * A unit is used to measure an amount of time, such as years, days or minutes. @@ -106,7 +106,7 @@ * The fields also provide access to the range of valid values. *
* - ** A key part of the date-time problem space is adjusting a date to a new, related value, * such as the "last day of the month", or "next Wednesday". @@ -131,7 +131,7 @@ * Applications can also define queries by implementing {@link java.time.temporal.TemporalQuery}. *
* - ** Different locales have different definitions of the week. * For example, in Europe the week typically starts on a Monday, while in the US it starts on a Sunday. @@ -143,7 +143,7 @@ * This is modeled in {@link java.time.temporal.IsoFields}. *
* - ** Unless otherwise noted, passing a null argument to a constructor or method in any class or interface * in this package will cause a {@link java.lang.NullPointerException NullPointerException} to be thrown. diff --git a/src/java.base/share/classes/java/time/zone/package-info.java b/src/java.base/share/classes/java/time/zone/package-info.java index 06256bc960d..e5c6a75becb 100644 --- a/src/java.base/share/classes/java/time/zone/package-info.java +++ b/src/java.base/share/classes/java/time/zone/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2018, 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,7 @@ * gaps and overlaps in the local time-line typically caused by Daylight Saving Time. *
* - ** Unless otherwise noted, passing a null argument to a constructor or method in any class or interface * in this package will cause a {@link java.lang.NullPointerException NullPointerException} to be thrown. diff --git a/src/java.xml/share/classes/javax/xml/transform/package-info.java b/src/java.xml/share/classes/javax/xml/transform/package-info.java index 2afa0406642..c3c0827a555 100644 --- a/src/java.xml/share/classes/javax/xml/transform/package-info.java +++ b/src/java.xml/share/classes/javax/xml/transform/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2015, 2018, 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 @@ -38,7 +38,7 @@ * {@link javax.xml.transform.stax}, and {@link javax.xml.transform.stream}. * * - *
* The API allows a concrete {@link javax.xml.transform.TransformerFactory} @@ -46,7 +46,7 @@ * {@link javax.xml.transform.TransformerFactory#newInstance}. * * - *
* This API defines two interface objects called {@link javax.xml.transform.Source} @@ -77,9 +77,7 @@ * * * - *
* Namespaces present something @@ -112,7 +110,7 @@ * prefix is lost. * * - *
* Serialization of the result tree to a stream can be controlled with the @@ -141,7 +139,7 @@ * the source to the result. This method may be used to create a DOM from SAX * events or to create an XML or HTML stream from a DOM or SAX events. * - *
* The transformation API throw three types of specialized exceptions. A @@ -192,7 +190,7 @@ * errors. * * - *
* The API provides a way for URIs referenced from within the stylesheet diff --git a/src/java.xml/share/classes/javax/xml/xpath/package-info.java b/src/java.xml/share/classes/javax/xml/xpath/package-info.java index 6a8e8200634..d4f1ab33f74 100644 --- a/src/java.xml/share/classes/javax/xml/xpath/package-info.java +++ b/src/java.xml/share/classes/javax/xml/xpath/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2015, 2018, 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 @@ -50,7 +50,7 @@ * *
* The XPath language provides a simple, concise syntax for selecting @@ -69,7 +69,7 @@ * * * - *
* An XPath expression is composed of a location
@@ -211,7 +211,7 @@
*
*
*
- *
* While XPath expressions select nodes in the XML document, the XPath
@@ -225,7 +225,7 @@
*
*
*
- *
* XPath location paths may be relative to a particular node in the
@@ -301,7 +301,7 @@
* {@link org.w3c.dom.Node} for example, in the JDK implementation.
*
*
- * 3. XPath Data Types
+ * 3. XPath Data Types
*
* 3.1 QName types
+ * 3.1 QName types
* The XPath API defines the following {@link javax.xml.namespace.QName} types to
* represent return types of an XPath evaluation:
*
@@ -258,7 +258,7 @@
* of a node to a
double
data type.
*
*
- * 3.2 Class types
+ * 3.2 Class types
* In addition to the QName types, the XPath API supports the use of Class types
* through the XPathExpression.evaluteExpression(...)
or
* XPath.evaluateExpression(...)
methods.
@@ -276,14 +276,14 @@
* Of the subtypes of Number, only Double, Integer and Long are supported.
*
*
- * 3.3 Enum types
+ * 3.3 Enum types
* Enum types are defined in {@link javax.xml.xpath.XPathEvaluationResult.XPathResultType}
* that provide mappings between the QName and Class types above. The result of
* evaluating an expression using the XPathExpression.evaluteExpression(...)
* or XPath.evaluateExpression(...)
methods will be of one of these types.
*
*
- * 4. XPath Context
+ * 4. XPath Context
*
* 5. Using the XPath API
+ * 5. Using the XPath API
*
* Consider the following XML document:
*