Skip to content

Commit b2467fe

Browse files
committed
Javadoc
1 parent eb3dc18 commit b2467fe

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/AbstractFileSystem.java

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ void freeResources() {
289289
}
290290

291291
/**
292-
* Retrieves the attribute with the specified name. The default implementation simply throws an exception.
292+
* Gets the attribute with the specified name. The default implementation simply throws an exception.
293293
*
294294
* @param attrName The name of the attribute.
295295
* @return the Object associated with the attribute or null if no object is.
@@ -305,7 +305,7 @@ FileSystemKey getCacheKey() {
305305
}
306306

307307
/**
308-
* Returns a cached file.
308+
* Gets a cached file.
309309
*
310310
* @param name name to search for.
311311
* @return file object or null if not found.
@@ -320,7 +320,7 @@ private FilesCache getFilesCache() {
320320
}
321321

322322
/**
323-
* Returns the FileSystemManager used to instantiate this file system.
323+
* Gets the FileSystemManager used to instantiate this file system.
324324
*
325325
* @return the FileSystemManager.
326326
*/
@@ -330,7 +330,7 @@ public FileSystemManager getFileSystemManager() {
330330
}
331331

332332
/**
333-
* Returns the FileSystemOptions used to instantiate this file system.
333+
* Gets the FileSystemOptions used to instantiate this file system.
334334
*
335335
* @return the FileSystemOptions.
336336
*/
@@ -340,17 +340,17 @@ public FileSystemOptions getFileSystemOptions() {
340340
}
341341

342342
/**
343-
* Returns the accuracy of the last modification time.
343+
* Gets the accuracy of the last modification time.
344344
*
345-
* @return ms 0 perfectly accurate, {@literal >0} might be off by this value e.g. sftp 1000ms
345+
* @return milliseconds, 0 means perfectly accurate, {@code > 0} might be off by this value, for examnple, sftp is 1000 milliseconds.
346346
*/
347347
@Override
348348
public double getLastModTimeAccuracy() {
349349
return 0;
350350
}
351351

352352
/**
353-
* Returns the parent layer if this is a layered file system.
353+
* Gets the parent layer if this is a layered file system.
354354
*
355355
* @return The FileObject for the parent layer.
356356
* @throws FileSystemException if an error occurs.
@@ -361,7 +361,7 @@ public FileObject getParentLayer() throws FileSystemException {
361361
}
362362

363363
/**
364-
* Returns the root file of this file system.
364+
* Gets the root file of this file system.
365365
*
366366
* @return The root FileObject of the FileSystem
367367
* @throws FileSystemException if an error occurs.
@@ -372,7 +372,7 @@ public FileObject getRoot() throws FileSystemException {
372372
}
373373

374374
/**
375-
* Returns the name of the root of this file system.
375+
* Gets the name of the root of this file system.
376376
*
377377
* @return the root FileName.
378378
*/
@@ -382,7 +382,7 @@ public FileName getRootName() {
382382
}
383383

384384
/**
385-
* Returns the root URI specified for this file System.
385+
* Gets the root URI specified for this file System.
386386
*
387387
* @return The root URI used in this file system.
388388
* @since 2.0
@@ -393,7 +393,7 @@ public String getRootURI() {
393393
}
394394

395395
/**
396-
* Determines if this file system has a particular capability.
396+
* Tests whether this file system has a particular capability.
397397
*
398398
* @param capability the Capability to check for.
399399
* @return true if the FileSystem has the Capability, false otherwise.
@@ -414,7 +414,7 @@ public void init() throws FileSystemException {
414414
}
415415

416416
/**
417-
* Checks if this file system has open streams.
417+
* Tests whether this file system has open streams.
418418
*
419419
* @return true if the FileSystem has open streams.
420420
*/
@@ -423,9 +423,9 @@ public boolean isOpen() {
423423
}
424424

425425
/**
426-
* Returns true if no file is using this FileSystem.
426+
* Tests whether any files are using this FileSystem.
427427
*
428-
* @return true if no file is using this FileSystem.
428+
* @return whether any files are using this FileSystem.
429429
*/
430430
public boolean isReleaseable() {
431431
return useCount.get() < 1;

0 commit comments

Comments
 (0)