🔥 Remove unnecessary function
[xudocci.git] / src / main / java / net / pterodactylus / xdcc / data / Channel.java
index f4c8d01..68e0cb6 100644 (file)
@@ -28,14 +28,6 @@ import com.google.common.base.Function;
  */
 public class Channel {
 
-       /** Function to convert a channel to its network. */
-       public static final Function<Channel, Network> TO_NETWORK = new Function<Channel, Network>() {
-               @Override
-               public Network apply(Channel channel) {
-                       return channel.network();
-               }
-       };
-
        /** The network this channel belongs to. */
        private final Network network;