mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +00:00
remove debug logging
This commit is contained in:
parent
0167868797
commit
9a50e69587
@ -405,11 +405,9 @@ Java_java_io_File_createNewFile(JNIEnv* e, jclass, jstring path)
|
||||
bool result = false;
|
||||
string_t chars = getChars(e, path);
|
||||
if (chars) {
|
||||
fprintf(stderr, "create file \"%s\"\n", chars);
|
||||
if (not exists(chars)) {
|
||||
int fd = OPEN(chars, O_CREAT | O_WRONLY | O_EXCL, 0600);
|
||||
if (fd == -1) {
|
||||
fprintf(stderr, "errno %d\n", errno);
|
||||
if (errno != EEXIST) {
|
||||
throwNewErrno(e, "java/io/IOException");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user