♻️ Refactor the FileEntry classes
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Mon, 13 Feb 2023 09:22:14 +0000 (10:22 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Mon, 13 Feb 2023 09:22:14 +0000 (10:22 +0100)
commit6f03fb87a6d4db3b5e267720f8eb1b0f2fdd06d3
treeb2a980445d04e66bdbfdee8f104decdd914af401
parent3685e41018c2c20bdc285d492f674f1012613814
♻️ Refactor the FileEntry classes

And by that I mean “remove most of them.” The generalised FileEntry that
exposes a Map and an InputStream is absolutely adequate and removes the
instanceof check in ClientPutComplexDir.
src/main/java/net/pterodactylus/fcp/ClientPutComplexDir.java
src/main/java/net/pterodactylus/fcp/FileEntry.java
src/test/java/net/pterodactylus/fcp/ClientPutComplexDirTest.java