Skip to content

Commit 3e37f0e

Browse files
Eugene Bochiloyulian-gaponenko
authored andcommitted
Fix errors while generating javadocs
DEVSIX-5807
1 parent 4b3ba5c commit 3e37f0e

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

commons/src/main/java/com/itextpdf/commons/actions/AbstractStatisticsEvent.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ public abstract class AbstractStatisticsEvent extends AbstractProductITextEvent
3838
private static final Logger LOGGER = LoggerFactory.getLogger(AbstractStatisticsEvent.class);
3939

4040
/**
41-
* @see AbstractProductITextEvent#AbstractProductITextEvent(ProductData)
41+
* Creates instance of abstract statistics iText event based on passed product data. Only for internal usage.
42+
*
43+
* @param productData is a description of the product which has generated an event
4244
*/
4345
protected AbstractStatisticsEvent(ProductData productData) {
4446
super(productData);
@@ -49,7 +51,7 @@ protected AbstractStatisticsEvent(ProductData productData) {
4951
* By default prints log warning and returns <code>null</code>.
5052
*
5153
* @param statisticsName name of statistics based on which aggregator will be created.
52-
* Shall be one of those returned from {@link this#getStatisticsNames()}
54+
* Shall be one of those returned from {@link AbstractStatisticsEvent#getStatisticsNames()}
5355
* @return new instance of {@link AbstractStatisticsAggregator}
5456
*/
5557
public AbstractStatisticsAggregator createStatisticsAggregatorFromName(String statisticsName) {

commons/src/main/java/com/itextpdf/commons/utils/FileUtil.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,10 @@ public static String getParentDirectoryUri(File file) throws MalformedURLExcepti
203203

204204
/**
205205
* Deletes a file and returns whether the operation succeeded.
206-
* Node that only *files* are supported, not directories.
206+
* Note that only *files* are supported, not directories.
207+
*
208+
* @param file file to be deleted
209+
* @return true if file was deleted successfully, false otherwise
207210
*/
208211
public static boolean deleteFile(File file) {
209212
return file.delete();
@@ -215,6 +218,8 @@ public static boolean deleteFile(File file) {
215218
* @param url of resource
216219
*
217220
* @return parent directory path| the same path if a catalog`s url is passed;
221+
* @throws URISyntaxException if this URL is not formatted strictly according
222+
* to RFC2396 and cannot be converted to a URI.
218223
*/
219224
public static String parentDirectory(URL url) throws URISyntaxException {
220225
return url.toURI().resolve(".").toString();

0 commit comments

Comments
 (0)