Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 6fef8dd9

Přidáno uživatelem Patrik Harag před téměř 6 roky(ů)

Fix error message when file not set

Zobrazit rozdíly:

sources/imiger-core/src/main/java/cz/zcu/kiv/offscreen/servlets/UploadFiles.java
67 67
            String fileName = formFields.get("filename");
68 68
            String initialElimination = formFields.get("enableInitialElimination");
69 69

  
70
            if (fileType == null || fileName == null) {
70
            if (fileType == null || fileName == null || fileName.isEmpty()) {
71 71
                throw new IllegalArgumentException("Missing parameter");
72 72
            }
73 73

  

Také k dispozici: Unified diff