aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/utils
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2018-12-28 21:23:00 +0100
committerChristian Schneppe <christian@pix-art.de>2018-12-28 21:23:00 +0100
commit649a14e98a470145342fee0790cdbf23e78d21de (patch)
tree892b83fe150b52dd7519a39905bb97494aace9f1 /src/main/java/de/pixart/messenger/utils
parent71350931e4289ad5ab84715dfffe7fba7573616b (diff)
fix typos
Diffstat (limited to 'src/main/java/de/pixart/messenger/utils')
-rw-r--r--src/main/java/de/pixart/messenger/utils/MimeUtils.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/de/pixart/messenger/utils/MimeUtils.java b/src/main/java/de/pixart/messenger/utils/MimeUtils.java
index 0babfdf9d..d8b3f172c 100644
--- a/src/main/java/de/pixart/messenger/utils/MimeUtils.java
+++ b/src/main/java/de/pixart/messenger/utils/MimeUtils.java
@@ -478,7 +478,7 @@ public final class MimeUtils {
* Returns the MIME type for the given extension.
*
* @param extension A file extension without the leading '.'
- * @return The MIME type for the given extension or null iff there is none.
+ * @return The MIME type for the given extension or null if there is none.
*/
public static String guessMimeTypeFromExtension(String extension) {
if (extension == null || extension.isEmpty()) {
@@ -491,7 +491,7 @@ public final class MimeUtils {
* Returns true if the given extension has a registered MIME type.
*
* @param extension A file extension without the leading '.'
- * @return True iff there is an extension entry in the map.
+ * @return True if there is an extension entry in the map.
*/
public static boolean hasExtension(String extension) {
if (extension == null || extension.isEmpty()) {
@@ -506,7 +506,7 @@ public final class MimeUtils {
* common extension for the given MIME type.
*
* @param mimeType A MIME type (i.e. text/plain)
- * @return The extension for the given MIME type or null iff there is none.
+ * @return The extension for the given MIME type or null if there is none.
*/
public static String guessExtensionFromMimeType(String mimeType) {
if (mimeType == null || mimeType.isEmpty()) {