/*package*/ static boolean containsFile(List<PostParameter> params) { boolean containsFile = false; for (PostParameter param : params) { if (param.isFile()) { containsFile = true; break; } } return containsFile; }
public static boolean containsFile(PostParameter[] params) { boolean containsFile = false; if (null == params) { return false; } for (PostParameter param : params) { if (param.isFile()) { containsFile = true; break; } } return containsFile; }