Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- System.out.println(type);
- System.out.println(type==FileType.TEXT);
- System.out.println(type==FileType.ATTACHMENT);
- switch (type) {
- case TEXT: {
- manuscript.getFiles().setManuscriptFile(uploadFileResponse);
- System.out.println("Saved as main file");
- }
- case ATTACHMENT: {
- manuscript.getFiles().getAttachmentList().add(uploadFileResponse);
- System.out.println("Saved as attachment");
- }
- }
- -->
- TEXT
- true
- false
- Saved as main file
- Saved as attachment
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement