Skip to content

Commit

Permalink
Make documentation capitalisation consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
EsotericEnderman committed Nov 3, 2024
1 parent 75ff143 commit db2c829
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ import java.nio.file.Path
*
* The resource is saved into the plugin's data folder using the same
* hierarchy as the .jar file (subdirectories are preserved).
* @param resourcePath the embedded resource path to look for within the plugin's .jar file. (No preceding slash).
* @param replace if true, the embedded resource will overwrite the contents of an existing file.
* @throws IllegalArgumentException if the resource path is null, empty, or points to a nonexistent resource.
* @param resourcePath The embedded resource path to look for within the plugin's .jar file. (No preceding slash).
* @param replace If true, the embedded resource will overwrite the contents of an existing file.
* @throws IllegalArgumentException If the resource path is null, empty, or points to a nonexistent resource.
* @see Plugin.saveResource
* @see Plugin.saveResources
* @see Plugin.getResource
Expand All @@ -31,8 +31,8 @@ fun Plugin.saveResource(resourcePath: Path, replace: Boolean = true) {
*
* The resource is saved into the plugin's data folder using the same
* hierarchy as the .jar file (subdirectories are preserved).
* @param resourcePath the embedded resource path to look for within the plugin's .jar file. (No preceding slash).
* @throws IllegalArgumentException if the resource path is null, empty, or points to a nonexistent resource.
* @param resourcePath The embedded resource path to look for within the plugin's .jar file. (No preceding slash).
* @throws IllegalArgumentException If the resource path is null, empty, or points to a nonexistent resource.
* @see Plugin.saveResource
* @see Plugin.saveResources
* @see Plugin.getResource
Expand All @@ -49,9 +49,9 @@ fun Plugin.saveResource(resourcePath: String) {
*
* The resources are saved into the plugin's data folder using the same
* hierarchy as the .jar file (subdirectories are preserved).
* @param resourceFolderPath the embedded resource path to look for within the plugin's .jar file. (No preceding slash).
* @param resourceFolderPath The embedded resource path to look for within the plugin's .jar file. (No preceding slash).
* @return The saved folder `File`.
* @throws IllegalArgumentException if the resource path is null, empty, or points to a nonexistent resource folder.
* @throws IllegalArgumentException If the resource path is null, empty, or points to a nonexistent resource folder.
* @see Plugin.saveResource
* @see Plugin.getResource
* @see Plugin.getDataFolder
Expand All @@ -68,9 +68,9 @@ fun Plugin.saveResources(resourceFolderPath: Path): File {
*
* The resources are saved into the plugin's data folder using the same
* hierarchy as the .jar file (subdirectories are preserved).
* @param resourceFolderPath the embedded resource path to look for within the plugin's .jar file. (No preceding slash).
* @param resourceFolderPath The embedded resource path to look for within the plugin's .jar file. (No preceding slash).
* @return The saved folder `File`.
* @throws IllegalArgumentException if the resource path is null, empty, or points to a nonexistent resource folder.
* @throws IllegalArgumentException If the resource path is null, empty, or points to a nonexistent resource folder.
* @see Plugin.saveResource
* @see Plugin.getResource
* @see Plugin.getDataFolder
Expand Down

0 comments on commit db2c829

Please sign in to comment.