From d795533302ca5ab0fc3c216db65bd5954e7bc38d Mon Sep 17 00:00:00 2001 From: mh Date: Wed, 27 Nov 2002 08:06:54 +0000 Subject: [PATCH] fix indentation --- source/mircoders/media/MediaRequest.java | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/source/mircoders/media/MediaRequest.java b/source/mircoders/media/MediaRequest.java index 98dc1abd..b559515c 100755 --- a/source/mircoders/media/MediaRequest.java +++ b/source/mircoders/media/MediaRequest.java @@ -55,7 +55,7 @@ import mir.media.*; * appropriate media objects are set. * * @author mh - * @version $Id: MediaRequest.java,v 1.5 2002/11/25 10:10:10 john Exp $ + * @version $Id: MediaRequest.java,v 1.6 2002/11/27 08:06:54 mh Exp $ * */ @@ -144,11 +144,12 @@ public class MediaRequest implements FileHandler } String mediaTitle = (String)mediaValues.get("media_title"+fileNum); - if ( (mediaTitle == null) || (mediaTitle.length() == 0)) - // uncomment the next line and comment out the exception throw - // if you'd rather just assign missing media titles automatically + if ( (mediaTitle == null) || (mediaTitle.length() == 0)) { + // uncomment the next line and comment out the exception throw + // if you'd rather just assign missing media titles automatically // mediaTitle="media item "+fileNum; - throw new FileHandlerUserException("Missing field: media title "+mediaTitle+fileNum); + throw new FileHandlerUserException("Missing field: media title "+mediaTitle+fileNum); + } // TODO: need to add all the extra fields that can be present in the // admin upload form. -mh -- 2.11.0