Thrift: Whitespace cleanup.
Summary:
- Expanded tabs to spaces where spaces were the norm.
- Deleted almost all trailing whitespace.
- Added newlines to the ends of a few files.
- Ran dos2unix on one file or two.
Reviewed By: mcslee
Test Plan: git diff -b
Revert Plan: ok
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665467 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/tutorial/java/src/JavaClient.java b/tutorial/java/src/JavaClient.java
index 6667d6f..753f0c6 100644
--- a/tutorial/java/src/JavaClient.java
+++ b/tutorial/java/src/JavaClient.java
@@ -17,8 +17,8 @@
public class JavaClient {
public static void main(String [] args) {
try {
-
- TTransport transport = new TSocket("localhost", 9090);
+
+ TTransport transport = new TSocket("localhost", 9090);
TProtocol protocol = new TBinaryProtocol(transport);
Calculator.Client client = new Calculator.Client(protocol);
@@ -51,12 +51,12 @@
} catch (InvalidOperation io) {
System.out.println("Invalid operation: " + io.why);
}
-
+
SharedStruct log = client.getStruct(1);
System.out.println("Check log: " + log.value);
transport.close();
-
+
} catch (TException x) {
x.printStackTrace();
}