summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/openslx/vm/disk/DiskImageUtils.java
diff options
context:
space:
mode:
authorManuel Bentele2021-04-30 12:11:32 +0200
committerManuel Bentele2021-04-30 12:11:32 +0200
commitc5d35cf6b739444ba0d065203d8f21db86d0c8c1 (patch)
treeeddaec6e855af1af223d842efc33da226c916c0a /src/main/java/org/openslx/vm/disk/DiskImageUtils.java
parentAdd unit tests for transformation logic (dozmod-server --> stateless client) (diff)
downloadmaster-sync-shared-c5d35cf6b739444ba0d065203d8f21db86d0c8c1.tar.gz
master-sync-shared-c5d35cf6b739444ba0d065203d8f21db86d0c8c1.tar.xz
master-sync-shared-c5d35cf6b739444ba0d065203d8f21db86d0c8c1.zip
Fix errors in Javadoc comments
Diffstat (limited to 'src/main/java/org/openslx/vm/disk/DiskImageUtils.java')
-rw-r--r--src/main/java/org/openslx/vm/disk/DiskImageUtils.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/org/openslx/vm/disk/DiskImageUtils.java b/src/main/java/org/openslx/vm/disk/DiskImageUtils.java
index cc29721..ccb053f 100644
--- a/src/main/java/org/openslx/vm/disk/DiskImageUtils.java
+++ b/src/main/java/org/openslx/vm/disk/DiskImageUtils.java
@@ -114,12 +114,12 @@ public class DiskImageUtils
}
/**
- * Reads two bytes ({@link Short}) at a given <code>offset</code> from the specified disk image
- * file.
+ * Reads a variable number of bytes (<code>numBytes</code>) at a given <code>offset</code> from the specified disk image file.
*
* @param diskImage file to a disk storing the image content.
- * @param offset offset in bytes for reading the two bytes.
- * @return value of the two bytes from the disk image file as {@link Short}.
+ * @param offset offset in bytes for reading <code>numBytes</code> bytes.
+ * @param numBytes number of bytes to read at <code>offset</code>.
+ * @return read bytes from the disk image file as {@link String}.
*
* @throws DiskImageException unable to read two bytes from the disk image file.
*/