Fixed fatal error caused by use of method return value in fmt:param number conversion

git-svn-id: http://scm.dspace.org/svn/repo/trunk@1234 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
Scott Yeadon
2005-06-15 06:25:47 +00:00
parent 9a43446e3f
commit 58ce35fda9
2 changed files with 2 additions and 2 deletions

View File

@@ -792,7 +792,7 @@ jsp.submit.edit-metadata.paperno = Report or Paper No.
jsp.submit.get-file-format.choose.button =Choose automatically-recognized type
jsp.submit.get-file-format.format =File Format:
jsp.submit.get-file-format.heading =Submit: Select File Format
jsp.submit.get-file-format.info1 =Uploaded file: <code>{0}</code> ({1,integer} bytes)
jsp.submit.get-file-format.info1 =Uploaded file: <code>{0}</code> ({1} bytes)
jsp.submit.get-file-format.info2 =DSpace could not identify the format of this file.
jsp.submit.get-file-format.info3 =DSpace recognized the file format as {0}. <strong>Please be sure before you change this!</strong>
jsp.submit.get-file-format.info5 =Select the format of the file from the list below, for example "Adobe PDF" or "Microsoft Word", <strong>OR</strong> if the format is not in the list, please describe the format file in the input box below the list.

View File

@@ -91,7 +91,7 @@
<%-- <P>Uploaded file: <code><%= si.bitstream.getName() %></code> (<%= si.bitstream.getSize() %> bytes)</P> --%>
<P><fmt:message key="jsp.submit.get-file-format.info1">
<fmt:param><%= si.bitstream.getName() %></fmt:param>
<fmt:param><%= si.bitstream.getSize() %></fmt:param>
<fmt:param><%= String.valueOf(si.bitstream.getSize()) %></fmt:param>
</fmt:message></P>
<%