You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by je...@apache.org on 2014/11/22 21:59:41 UTC

thrift git commit: THRIFT-2847 function IfValue() is a duplicate of System.StrUtils.IfThen Client: Delphi Patch: Qian Xu

Repository: thrift
Updated Branches:
  refs/heads/master ea2fbcfc9 -> e50f12a5f


THRIFT-2847 function IfValue() is a duplicate of System.StrUtils.IfThen
Client: Delphi
Patch: Qian Xu <sx...@googlemail.com>

This closes #280


Project: http://git-wip-us.apache.org/repos/asf/thrift/repo
Commit: http://git-wip-us.apache.org/repos/asf/thrift/commit/e50f12a5
Tree: http://git-wip-us.apache.org/repos/asf/thrift/tree/e50f12a5
Diff: http://git-wip-us.apache.org/repos/asf/thrift/diff/e50f12a5

Branch: refs/heads/master
Commit: e50f12a5ff6cd2660d7a4853318dd651ab3794a3
Parents: ea2fbcf
Author: Jens Geyer <je...@apache.org>
Authored: Sat Nov 22 21:58:59 2014 +0100
Committer: Jens Geyer <je...@apache.org>
Committed: Sat Nov 22 21:58:59 2014 +0100

----------------------------------------------------------------------
 lib/delphi/src/Thrift.Utils.pas | 13 -------------
 1 file changed, 13 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/thrift/blob/e50f12a5/lib/delphi/src/Thrift.Utils.pas
----------------------------------------------------------------------
diff --git a/lib/delphi/src/Thrift.Utils.pas b/lib/delphi/src/Thrift.Utils.pas
index 58ffe79..5c3d8a5 100644
--- a/lib/delphi/src/Thrift.Utils.pas
+++ b/lib/delphi/src/Thrift.Utils.pas
@@ -49,21 +49,8 @@ type
   end;
 
 
-
-function IfValue(B: Boolean; const TrueValue, FalseValue: WideString): string;
-
 implementation
 
-
-function IfValue(B: Boolean; const TrueValue, FalseValue: WideString): string;
-begin
-  if B then
-    Result := TrueValue
-  else
-    Result := FalseValue;
-end;
-
-
 { TOverlappedHelperImpl }
 
 constructor TOverlappedHelperImpl.Create;