Skip to content

Commit 3bb2a8d

Browse files
hvanhovellsrowen
authored andcommitted
[SPARK-11388][BUILD] Fix self closing tags.
Java 8 javadoc does not like self closing tags: ```<p/>```, ```<br/>```, ... This PR fixes those. Author: Herman van Hovell <[email protected]> Closes #9339 from hvanhovell/SPARK-11388.
1 parent f304f9c commit 3bb2a8d

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

launcher/src/main/java/org/apache/spark/launcher/SparkAppHandle.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
/**
2121
* A handle to a running Spark application.
22-
* <p/>
22+
* <p>
2323
* Provides runtime information about the underlying Spark application, and actions to control it.
2424
*
2525
* @since 1.6.0
@@ -110,7 +110,7 @@ public interface Listener {
110110
* Callback for changes in the handle's state.
111111
*
112112
* @param handle The updated handle.
113-
* @see {@link SparkAppHandle#getState()}
113+
* @see SparkAppHandle#getState()
114114
*/
115115
void stateChanged(SparkAppHandle handle);
116116

launcher/src/main/java/org/apache/spark/launcher/SparkLauncher.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ public SparkLauncher setVerbose(boolean verbose) {
350350

351351
/**
352352
* Launches a sub-process that will start the configured Spark application.
353-
* <p/>
353+
* <p>
354354
* The {@link #startApplication(SparkAppHandle.Listener...)} method is preferred when launching
355355
* Spark, since it provides better control of the child application.
356356
*
@@ -362,16 +362,16 @@ public Process launch() throws IOException {
362362

363363
/**
364364
* Starts a Spark application.
365-
* <p/>
365+
* <p>
366366
* This method returns a handle that provides information about the running application and can
367367
* be used to do basic interaction with it.
368-
* <p/>
368+
* <p>
369369
* The returned handle assumes that the application will instantiate a single SparkContext
370370
* during its lifetime. Once that context reports a final state (one that indicates the
371371
* SparkContext has stopped), the handle will not perform new state transitions, so anything
372372
* that happens after that cannot be monitored. If the underlying application is launched as
373373
* a child process, {@link SparkAppHandle#kill()} can still be used to kill the child process.
374-
* <p/>
374+
* <p>
375375
* Currently, all applications are launched as child processes. The child's stdout and stderr
376376
* are merged and written to a logger (see <code>java.util.logging</code>). The logger's name
377377
* can be defined by setting {@link #CHILD_PROCESS_LOGGER_NAME} in the app's configuration. If

0 commit comments

Comments
 (0)