aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorBinh Nguyen <ngbinh@gmail.com>2013-12-07 11:06:18 -0800
committerBinh Nguyen <ngbinh@gmail.com>2013-12-24 14:59:30 -0800
commit786f393a98f8771d0c20322cd50e553a895c7d60 (patch)
tree18f650854219c921075d88a32df020eb0a147d18 /core
parent9115a5de62dcb832569727773112a4688ef63f03 (diff)
downloadspark-786f393a98f8771d0c20322cd50e553a895c7d60.tar.gz
spark-786f393a98f8771d0c20322cd50e553a895c7d60.tar.bz2
spark-786f393a98f8771d0c20322cd50e553a895c7d60.zip
Fix imports order
Diffstat (limited to 'core')
-rw-r--r--core/src/main/java/org/apache/spark/network/netty/FileClientChannelInitializer.java1
-rw-r--r--core/src/main/java/org/apache/spark/network/netty/FileServer.java5
-rw-r--r--core/src/main/java/org/apache/spark/network/netty/FileServerChannelInitializer.java1
3 files changed, 2 insertions, 5 deletions
diff --git a/core/src/main/java/org/apache/spark/network/netty/FileClientChannelInitializer.java b/core/src/main/java/org/apache/spark/network/netty/FileClientChannelInitializer.java
index b16225026b..fb61be1c12 100644
--- a/core/src/main/java/org/apache/spark/network/netty/FileClientChannelInitializer.java
+++ b/core/src/main/java/org/apache/spark/network/netty/FileClientChannelInitializer.java
@@ -21,7 +21,6 @@ import io.netty.channel.ChannelInitializer;
import io.netty.channel.socket.SocketChannel;
import io.netty.handler.codec.string.StringEncoder;
-
class FileClientChannelInitializer extends ChannelInitializer<SocketChannel> {
private final FileClientHandler fhandler;
diff --git a/core/src/main/java/org/apache/spark/network/netty/FileServer.java b/core/src/main/java/org/apache/spark/network/netty/FileServer.java
index 3fe7d69925..aea7534459 100644
--- a/core/src/main/java/org/apache/spark/network/netty/FileServer.java
+++ b/core/src/main/java/org/apache/spark/network/netty/FileServer.java
@@ -17,6 +17,8 @@
package org.apache.spark.network.netty;
+import java.net.InetSocketAddress;
+
import io.netty.bootstrap.ServerBootstrap;
import io.netty.channel.ChannelFuture;
import io.netty.channel.ChannelOption;
@@ -26,9 +28,6 @@ import io.netty.channel.socket.oio.OioServerSocketChannel;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
-import java.net.InetSocketAddress;
-
-
/**
* Server that accept the path of a file an echo back its content.
*/
diff --git a/core/src/main/java/org/apache/spark/network/netty/FileServerChannelInitializer.java b/core/src/main/java/org/apache/spark/network/netty/FileServerChannelInitializer.java
index 833af1632d..f1f264c583 100644
--- a/core/src/main/java/org/apache/spark/network/netty/FileServerChannelInitializer.java
+++ b/core/src/main/java/org/apache/spark/network/netty/FileServerChannelInitializer.java
@@ -23,7 +23,6 @@ import io.netty.handler.codec.DelimiterBasedFrameDecoder;
import io.netty.handler.codec.Delimiters;
import io.netty.handler.codec.string.StringDecoder;
-
class FileServerChannelInitializer extends ChannelInitializer<SocketChannel> {
PathResolver pResolver;