[
https://issues.apache.org/jira/browse/THRIFT-4467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Anton Shchyrov updated THRIFT-4467:
-----------------------------------
Description:
For ease of use, add methods
{code:java}
procedure TThriftConsole.WriteFmt(const AFmt: string;
const AArgs: array of const);
begin
Write(Format(AFmt, AArgs));
end;
procedure TThriftConsole.WriteLineFmt(const AFmt: string;
const AArgs: array of const);
begin
WriteLine(Format(AFmt, AArgs));
end;
{code}
was:
For ease of use, add methods
{{procedure TThriftConsole.WriteFmt(const AFmt: string;}}
const AArgs: array of const);
{{begin}}
{{ Write(Format(AFmt, AArgs));}}
{{end;}}
{{procedure TThriftConsole.WriteLineFmt(const AFmt: string;}}
const AArgs: array of const);
{{begin}}
{{ WriteLine(Format(AFmt, AArgs));}}
{{end;}}
> Add methods WriteFmt/WriteLineFmt to TThriftConsole class
> ---------------------------------------------------------
>
> Key: THRIFT-4467
> URL: https://issues.apache.org/jira/browse/THRIFT-4467
> Project: Thrift
> Issue Type: Sub-task
> Components: Delphi - Library
> Affects Versions: 0.11.0
> Reporter: Anton Shchyrov
> Assignee: Jens Geyer
> Priority: Minor
> Labels: Console
> Fix For: 0.12.0
>
>
> For ease of use, add methods
>
> {code:java}
> procedure TThriftConsole.WriteFmt(const AFmt: string;
> const AArgs: array of const);
> begin
> Write(Format(AFmt, AArgs));
> end;
> procedure TThriftConsole.WriteLineFmt(const AFmt: string;
> const AArgs: array of const);
> begin
> WriteLine(Format(AFmt, AArgs));
> end;
> {code}
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)