Minor changes
- using http_client library instead of libcurl directly - using implicit conversion to JSON_STRING to improve code readability - use ARRAYED_LIST instead of LINKED_LIST .. for performance. - cosmetic .. but still a lot of feature clauses are missing, comments, assertions ...
This commit is contained in:
@@ -8,11 +8,11 @@ class
|
||||
WSF_GRID_COLUMN
|
||||
|
||||
create
|
||||
make_column
|
||||
make
|
||||
|
||||
feature {NONE}
|
||||
|
||||
make_column (a_header, a_field: STRING)
|
||||
make (a_header, a_field: STRING)
|
||||
do
|
||||
header := a_header
|
||||
field_name := a_field
|
||||
@@ -31,7 +31,7 @@ feature
|
||||
|
||||
render_column (e: WSF_ENTITY): STRING
|
||||
do
|
||||
if attached e.get (field_name) as data then
|
||||
if attached e.item (field_name) as data then
|
||||
Result := data.out
|
||||
else
|
||||
Result := "[VOID]"
|
||||
|
||||
Reference in New Issue
Block a user