From 76f957859cd7acaf70c3c9c469850eaa07c13a4c Mon Sep 17 00:00:00 2001 From: Andrew Mackenzie Date: Thu, 5 May 2016 00:10:04 +0200 Subject: [PATCH] Fix parameter name in comments --- src/main/java/cz/adamh/utils/NativeUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/cz/adamh/utils/NativeUtils.java b/src/main/java/cz/adamh/utils/NativeUtils.java index a280231..e4a02f3 100644 --- a/src/main/java/cz/adamh/utils/NativeUtils.java +++ b/src/main/java/cz/adamh/utils/NativeUtils.java @@ -48,7 +48,7 @@ public class NativeUtils { * The file from JAR is copied into system temporary directory and then loaded. The temporary file is deleted after exiting. * Method uses String as filename because the pathname is "abstract", not system-dependent. * - * @param filename The filename inside JAR as absolute path (beginning with '/'), e.g. /package/File.ext + * @param path The path of file inside JAR as absolute path (beginning with '/'), e.g. /package/File.ext * @throws IOException If temporary file creation or read/write operation fails * @throws IllegalArgumentException If source file (param path) does not exist * @throws IllegalArgumentException If the path is not absolute or if the filename is shorter than three characters (restriction of {@see File#createTempFile(java.lang.String, java.lang.String)}).