git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace-tree-widget@71248 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
1412b80a9c
commit
b1fd9d7d22
|
@ -192,11 +192,6 @@ public class UploadServlet extends HttpServlet {
|
||||||
|
|
||||||
if(uploadType.compareTo(FILE)==0) {//IS FILE UPLOAD
|
if(uploadType.compareTo(FILE)==0) {//IS FILE UPLOAD
|
||||||
|
|
||||||
//DEBUG
|
|
||||||
// System.out.println("MimeTypeUtil.isZipContentType(contentType) "+MimeTypeUtil.isZipContentType(contentType));
|
|
||||||
// System.out.println("extension.compareToIgnoreCase(D4ST) "+extension.compareToIgnoreCase(D4ST));
|
|
||||||
// System.out.println("extension.compareToIgnoreCase(D4SR) "+extension.compareToIgnoreCase(D4SR));
|
|
||||||
|
|
||||||
boolean isZipFile = MimeTypeUtil.isZipContentType(contentType);
|
boolean isZipFile = MimeTypeUtil.isZipContentType(contentType);
|
||||||
|
|
||||||
if(isZipFile && (extension.compareToIgnoreCase(D4ST)==0)){ //Create REPORT TEMPLATE
|
if(isZipFile && (extension.compareToIgnoreCase(D4ST)==0)){ //Create REPORT TEMPLATE
|
||||||
|
|
Loading…
Reference in New Issue