Project

General

Profile

« Previous | Next » 

Revision 3676

Added by barteau over 16 years ago

Removed the use of String.contains() to make it java 1.4 compliant.

View differences:

ClientViewHelper.jspx
21 21

  
22 22
        contentType = request.getContentType();
23 23
        message = "";
24
        if (contentType != null && contentType.contains("multipart/form-data")) {
24
        if (contentType != null && (contentType.indexOf("multipart/form-data") > -1)) {
25 25
            //*** Process request here if a file update.
26 26
            //*** Init the MultipartParser.
27 27
            sizeLimit = (new Integer(MetaCatUtil.getOption("datafilesizelimit"))).intValue();

Also available in: Unified diff