Issue Type: Bug Bug
Affects Versions: 5.0
Assignee: Unassigned
Created: 06/Mar/13 2:01 PM
Description:

There is code in multiple places for these activities. Some of the code should be consolidated into a utility class. Please analyze and discuss with architects.

Definitely unify:
DefaultImageProvider.resolveFileTypeFromMimeType()
FileItemWrapper.resolveFileTypeFromMimeType()

DefaultImageProvider.isImage()
FileItemWrapper.isImage()

Also Consider:
FileItemWrapper.ResolveMediaTypeFromMimeType()

The difference is that FileType includes all of the files that we have icons for. Do we want to do this? Should it be a different name? IconfileType?

This is very much related to: http://jira.magnolia-cms.com/browse/MGNLUI-213

Project: Magnolia UI
Priority: Neutral Neutral
Reporter: Christopher Zimmermann
Security Level: Public
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to