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/lib/cocoa/src/TApplicationException.m b/lib/cocoa/src/TApplicationException.m
index bace360..9187087 100644
--- a/lib/cocoa/src/TApplicationException.m
+++ b/lib/cocoa/src/TApplicationException.m
@@ -48,21 +48,21 @@
[protocol readFieldBeginReturningName: NULL
type: &fieldType
fieldID: &fieldID];
- if (fieldType == TType_STOP) {
+ if (fieldType == TType_STOP) {
break;
}
switch (fieldID) {
case 1:
if (fieldType == TType_STRING) {
reason = [protocol readString];
- } else {
+ } else {
[TProtocolUtil skipType: fieldType onProtocol: protocol];
}
break;
case 2:
if (fieldType == TType_I32) {
type = [protocol readI32];
- } else {
+ } else {
[TProtocolUtil skipType: fieldType onProtocol: protocol];
}
break;