From 89e4b5d843df24e8ae0fec5faa0ad4a816160a53 Mon Sep 17 00:00:00 2001 From: Duarte Meneses Date: Fri, 28 Oct 2016 10:12:30 +0200 Subject: [PATCH] Improve InputFile javadoc --- .../src/main/java/org/sonar/api/batch/fs/InputFile.java | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/batch/fs/InputFile.java b/sonar-plugin-api/src/main/java/org/sonar/api/batch/fs/InputFile.java index 450dd704416..923575d7fee 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/batch/fs/InputFile.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/batch/fs/InputFile.java @@ -79,13 +79,18 @@ public interface InputFile extends InputPath { String absolutePath(); /** - * The underlying absolute {@link java.io.File} + * The underlying absolute {@link java.io.File}. It should not be used to read the file in the filesystem. + * @see #contents() + * @see #inputStream() */ @Override File file(); /** - * The underlying absolute {@link Path} + * The underlying absolute {@link Path}. + * It should not be used to read the file in the filesystem. + * @see #contents() + * @see #inputStream() * @since 5.1 */ @Override -- 2.39.5