Java doc: Terminology tweaks

- "function" = "method"
- "decompression and transform functions" = "decompression and transform
  operations" (for consistency with the 2.1.x documentation)
- "return an error" = "throw an error"
- "ceil()" = "Math.ceil()"
This commit is contained in:
DRC
2023-11-16 14:12:28 -05:00
parent 40419472fa
commit 6136a9e285
10 changed files with 21 additions and 21 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C)2011, 2018 D. R. Commander. All Rights Reserved.
* Copyright (C)2011, 2018, 2023 D. R. Commander. All Rights Reserved.
* Copyright (C)2015 Viktor Szathmáry. All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -67,9 +67,9 @@ public class TJScalingFactor {
}
/**
* Returns the scaled value of <code>dimension</code>. This function
* performs the integer equivalent of
* <code>ceil(dimension * scalingFactor)</code>.
* Returns the scaled value of <code>dimension</code>. This method performs
* the integer equivalent of
* <code>Math.ceil(dimension * scalingFactor)</code>.
*
* @param dimension width or height to multiply by this scaling factor
*