X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=source%2Fmircoders%2Fentity%2FEntityUploadedMedia.java;h=1b25542337b4359f50f1c8c9774deaba8bcf4e26;hb=19e43122d238202f5026ae776893305bdcdafc7c;hp=750e5395b70cecda8a1a69850b39b5376e841acb;hpb=2e18680f0184ec8c7b3af78add26cf64c736bc11;p=mir.git diff --git a/source/mircoders/entity/EntityUploadedMedia.java b/source/mircoders/entity/EntityUploadedMedia.java index 750e5395..1b255423 100755 --- a/source/mircoders/entity/EntityUploadedMedia.java +++ b/source/mircoders/entity/EntityUploadedMedia.java @@ -94,7 +94,7 @@ public class EntityUploadedMedia extends Entity { if (key != null) { if (key.equals("big_icon")) - returnValue = getBigIcon(); + returnValue = getBigIconName(); else if (key.equals("descr")) returnValue = getDescr(); else if (key.equals("mediatype")) @@ -139,17 +139,17 @@ public class EntityUploadedMedia extends Entity { return null; } - private String getBigIcon() { + private String getBigIconName() { MirMedia mediaHandler = null; Entity mediaType = null; try { mediaType = getMediaType(); mediaHandler = MediaHelper.getHandler(mediaType); - return mediaHandler.getBigIcon(); + return mediaHandler.getBigIconName(); } catch (Exception ex) { - theLog.printWarning("-- getBigIcon: could not fetch data " + theLog.printWarning("-- getBigIconName: could not fetch data " + this.getClass().toString() + " " + ex.toString()); } return null; @@ -194,7 +194,7 @@ public class EntityUploadedMedia extends Entity { return mediaType.getValue("mime_type"); } catch (Exception ex) { - theLog.printWarning("-- getBigIcon: could not fetch data " + theLog.printWarning("-- getBigIconName: could not fetch data " + this.getClass().toString() + " " + ex.toString()); } return null;