diff options
author | David Reiss <dreiss@apache.org> | 2008-02-06 22:18:40 +0000 |
---|---|---|
committer | David Reiss <dreiss@apache.org> | 2008-02-06 22:18:40 +0000 |
commit | 0c90f6f8af1d64ec9272bb2f6092336f3d0b8df8 (patch) | |
tree | 15245f459a76acc769d8fe99179176b4965bf66d /tutorial/java | |
parent | 3160971286aea0d5b28d5a7a87acaa8a12209ef8 (diff) | |
download | thrift-0c90f6f8af1d64ec9272bb2f6092336f3d0b8df8.tar.gz |
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
Diffstat (limited to 'tutorial/java')
-rw-r--r-- | tutorial/java/src/JavaClient.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tutorial/java/src/JavaClient.java b/tutorial/java/src/JavaClient.java index 6667d6f62..753f0c62e 100644 --- a/tutorial/java/src/JavaClient.java +++ b/tutorial/java/src/JavaClient.java @@ -17,8 +17,8 @@ import java.util.ArrayList; 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 @@ public class JavaClient { } 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(); } |