You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by ah...@apache.org on 2020/01/15 16:58:33 UTC

[isis] branch master updated: ISIS-2158: add txt mime-type aliases for convenience

This is an automated email from the ASF dual-hosted git repository.

ahuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git


The following commit(s) were added to refs/heads/master by this push:
     new 6e4d819  ISIS-2158: add txt mime-type aliases for convenience
6e4d819 is described below

commit 6e4d81994e0247cd45d3b9cd33d0f41c65e262fe
Author: Andi Huber <ah...@apache.org>
AuthorDate: Wed Jan 15 17:58:21 2020 +0100

    ISIS-2158: add txt mime-type aliases for convenience
---
 .../src/main/java/org/apache/isis/applib/value/NamedWithMimeType.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/api/applib/src/main/java/org/apache/isis/applib/value/NamedWithMimeType.java b/api/applib/src/main/java/org/apache/isis/applib/value/NamedWithMimeType.java
index 35ab297..796dc7e 100644
--- a/api/applib/src/main/java/org/apache/isis/applib/value/NamedWithMimeType.java
+++ b/api/applib/src/main/java/org/apache/isis/applib/value/NamedWithMimeType.java
@@ -93,7 +93,7 @@ public interface NamedWithMimeType extends Serializable {
         TIFF("image/tiff", "tif"),
         TS("video/mp2t"),
         TTF("font/ttf"),
-        TXT("text/plain"),
+        TXT("text/plain"), /*aliases*/ LOG("text/plain"), PROPERTIES("text/plain"),
         VSD("application/vnd.visio"),
         WAV("audio/wav"),
         WEBA("audio/webm"),