rpuch commented on code in PR #2390:
URL: https://github.com/apache/ignite-3/pull/2390#discussion_r1286751295
##########
modules/file-transfer/src/main/java/org/apache/ignite/internal/network/file/exception/FileHandlerNotFoundException.java:
##########
@@ -15,30 +15,22 @@
* limitations under the License.
*/
-package org.apache.ignite.internal.network.file;
+package org.apache.ignite.internal.network.file.exception;
-import java.io.File;
-import java.util.Comparator;
-import java.util.List;
-import java.util.stream.Collectors;
+import org.apache.ignite.internal.network.file.messages.Metadata;
+import org.apache.ignite.lang.ErrorGroups.Network;
+import org.apache.ignite.lang.IgniteException;
/**
- * File utils.
+ * Exception thrown when file handler is not found for a metadata message.
*/
-public class FileUtils {
- public static List<File> sortByNames(File... files) {
- return sortByNames(List.of(files));
- }
-
+public class FileHandlerNotFoundException extends IgniteException {
Review Comment:
Isn't it `FileConsumer` now?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]