aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/files/LocalStorage.java
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/cgeo/geocaching/files/LocalStorage.java')
-rw-r--r--main/src/cgeo/geocaching/files/LocalStorage.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/main/src/cgeo/geocaching/files/LocalStorage.java b/main/src/cgeo/geocaching/files/LocalStorage.java
index 6853c08..eea761b 100644
--- a/main/src/cgeo/geocaching/files/LocalStorage.java
+++ b/main/src/cgeo/geocaching/files/LocalStorage.java
@@ -136,8 +136,8 @@ public class LocalStorage {
/**
* Save an HTTP response to a file.
*
- * @param entity
- * the entity whose content will be saved
+ * @param response
+ * the response whose entity content will be saved
* @param targetFile
* the target file, which will be created if necessary
* @return true if the operation was successful, false otherwise, in which case the file will not exist
@@ -203,13 +203,13 @@ public class LocalStorage {
}
/**
- * Save an HTTP response to a file.
+ * Save a stream to a file.
* <p/>
- * If the response could not be saved to the file due, for example, to a network error,
- * the file will not exist when this method returns.
+ * If the response could not be saved to the file due, for example, to a network error, the file will not exist when
+ * this method returns.
*
- * @param entity
- * the entity whose content will be saved
+ * @param inputStream
+ * the stream whose content will be saved
* @param targetFile
* the target file, which will be created if necessary
* @return true if the operation was successful, false otherwise