Dieser Commit ist enthalten in:
Ursprung
d50398ca25
Commit
b147614f49
@ -27,6 +27,7 @@ import java.io.FileInputStream;
|
||||
import java.io.FileNotFoundException;
|
||||
import java.io.IOException;
|
||||
import java.nio.file.Files;
|
||||
import java.nio.file.StandardCopyOption;
|
||||
import java.sql.SQLException;
|
||||
|
||||
@AllArgsConstructor
|
||||
@ -43,7 +44,7 @@ public class Replay {
|
||||
try {
|
||||
file = File.createTempFile("replay", "replay");
|
||||
file.deleteOnExit();
|
||||
Files.copy(rs.getBinaryStream("Replay"), file.toPath());
|
||||
Files.copy(rs.getBinaryStream("Replay"), file.toPath(), StandardCopyOption.REPLACE_EXISTING);
|
||||
} catch (IOException e) {
|
||||
throw new SQLException(e);
|
||||
}
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren