Skip to content

Commit d2505c9

Browse files
committed
Javadoc
1 parent 000ca26 commit d2505c9

File tree

3 files changed

+15
-9
lines changed

3 files changed

+15
-9
lines changed

commons-vfs2-hdfs/src/test/java/org/apache/commons/vfs2/provider/hdfs/HdfsFileProviderTest.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,14 @@ public class HdfsFileProviderTest {
8282

8383
/**
8484
* Add {@code dfs.datanode.data.dir.perm} setting if OS needs it.
85-
* <P>
85+
* <p>
8686
* MiniDFSCluster will check the permissions on the data directories, but does not do a good job of setting them
8787
* properly. We need to get the users umask and set the appropriate Hadoop property so that the data directories
8888
* will be created with the correct permissions.
89-
* <P>
89+
* </p>
90+
* <p>
9091
* Will do nothing on Windows.
92+
* </p>
9193
*/
9294
public static void setUmask(final Configuration config) {
9395
try {

commons-vfs2-hdfs/src/test/java/org/apache/commons/vfs2/provider/hdfs/HdfsFileProviderTestCase.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,9 @@
4848

4949
/**
5050
* This test class uses the Hadoop MiniDFSCluster class to create an embedded Hadoop cluster.
51-
* <P>
51+
* <p>
5252
* This will only work on systems that Hadoop supports.
53+
* </p>
5354
*/
5455
@DisabledForJreRange(min = JRE.JAVA_23)
5556
@DisabledOnOs(OS.WINDOWS)

commons-vfs2-jackrabbit2/src/test/java/org/apache/commons/vfs2/provider/webdav4/test/JackrabbitMain.java

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,10 @@ public static void main(final String[] args) throws Exception {
7979

8080
/**
8181
* Constructs Main application instance.
82-
* <P>
83-
* <EM>Note:</EM> Constructor is protected because other projects such as Commons VFS can extend this for some reasons
82+
* <p>
83+
* <em>Note:</em> Constructor is protected because other projects such as Commons VFS can extend this for some reasons
8484
* (e.g, unit testing against Jackrabbit WebDAV).
85+
* </p>
8586
*/
8687
protected JackrabbitMain(final String[] args) throws ParseException {
8788
options.addOption("?", "help", false, "print this message");
@@ -216,9 +217,10 @@ private void prepareWebapp(final File file, final File repository, final File tm
216217

217218
/**
218219
* Run this Main application.
219-
* <P>
220-
* <EM>Note:</EM> this is public because this can be used by other projects in unit tests. e.g, Commons-VFS.
220+
* <p>
221+
* <em>Note:</em> this is public because this can be used by other projects in unit tests. e.g, Commons-VFS.
221222
* @throws Exception if any exception occurs
223+
* </p>
222224
*/
223225
public void run() throws Exception {
224226
String defaultFile = "jackrabbit-standalone.jar";
@@ -310,10 +312,11 @@ public void run() throws Exception {
310312

311313
/**
312314
* Shutdown this Main application.
313-
* <P>
314-
* <EM>Note:</EM> this is public because this can be used by other projects in unit tests for graceful shutdown.
315+
* <p>
316+
* <em>Note:</em> this is public because this can be used by other projects in unit tests for graceful shutdown.
315317
* e.g, Commons-VFS. If this is not invoked properly, some unexpected exceptions may occur on shutdown hook
316318
* due to an unexpected, invalid state for org.apache.lucene.index.IndexFileDeleter for instance.
319+
* </p>
317320
*/
318321
public void shutdown() {
319322
try {

0 commit comments

Comments
 (0)