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