Skip to content

Commit

Permalink
Compiles WAR against primefaces 8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sneumann committed Oct 17, 2024
1 parent 6d0c93d commit 2183a4d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import java.util.regex.Matcher;
import java.util.regex.Pattern;

import org.primefaces.model.UploadedFile;
import org.primefaces.model.file.UploadedFile;

import de.ipbhalle.metfraglib.parameter.Constants;
import de.ipbhalle.metfragweb.container.Messages;
Expand Down Expand Up @@ -133,7 +133,7 @@ public File prepareFolder(String folderName, Messages errorMessages) {
*/
public File saveUploadedFile(UploadedFile file, File path) throws IOException {
File fileToStore = new File(path.getAbsoluteFile() + Constants.OS_SPECIFIC_FILE_SEPARATOR + file.getFileName());
InputStream is = file.getInputstream();
InputStream is = file.getInputStream();
OutputStream out = new FileOutputStream(fileToStore);
byte buf[] = new byte[1024];
int len;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import java.io.FileInputStream;
import java.io.InputStream;

import org.primefaces.model.UploadedFile;
import org.primefaces.model.file.UploadedFile;

import de.ipbhalle.metfraglib.exceptions.RetentionTimeNotFoundException;
import de.ipbhalle.metfraglib.exceptions.TooFewCandidatesException;
Expand Down

0 comments on commit 2183a4d

Please sign in to comment.