-
Notifications
You must be signed in to change notification settings - Fork 0
Simple ftpgui #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
dzharkov
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Текущая оценка: 7.5
Макс. оценка: 8.5
| System.out.println("No such file"); | ||
| return; | ||
| } | ||
| try (FileOutputStream out = new FileOutputStream(name)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Опять ручная манипуляция байтовыми массивами, -1
| } | ||
|
|
||
| private FolderDescription requestFolderDescription(String name) { | ||
| System.out.println("1 " + name); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Давайте убирать перед проверкой логгирование. -0.5
| } | ||
|
|
||
| private static String getNewPath(String path, String name) { | ||
| if (path.equals("./")) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Меня смущает, что используется много магических path-related констант.
Пока -1, надо переписать так, чтобы получилось ОС и ФС независимо
No description provided.