summaryrefslogtreecommitdiff
path: root/bkucommon/src/main/java
diff options
context:
space:
mode:
authorclemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2008-09-18 15:52:02 +0000
committerclemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2008-09-18 15:52:02 +0000
commit40e57f6c9101ddcc00422d95086d6a485c3ceda2 (patch)
tree886c059494aa0b4824badd9b9e31ddcec781ca78 /bkucommon/src/main/java
parent2b97da54ac0e5ce925bdfc28db40ef29bde94917 (diff)
downloadmocca-40e57f6c9101ddcc00422d95086d6a485c3ceda2.tar.gz
mocca-40e57f6c9101ddcc00422d95086d6a485c3ceda2.tar.bz2
mocca-40e57f6c9101ddcc00422d95086d6a485c3ceda2.zip
mimetype
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@52 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'bkucommon/src/main/java')
-rw-r--r--bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/DataObjectHashDataInput.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/DataObjectHashDataInput.java b/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/DataObjectHashDataInput.java
index 0386bdd6..1a9b56fb 100644
--- a/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/DataObjectHashDataInput.java
+++ b/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/DataObjectHashDataInput.java
@@ -32,7 +32,8 @@ public class DataObjectHashDataInput implements HashDataInput {
@Override
public String getMimeType() {
- return dataObject.getMimeType();
+ String contentType = dataObject.getMimeType();
+ return contentType.split(";")[0].trim();
}
/**