Skip to content

Write proper toString implementation in UtHashMap  #127

Open
@alexeyfridman

Description

@alexeyfridman

SAT-1604

String mapToString(long startTime, int pageSize, int pageNum) {
    Map<String, Object> params = new HashMap<>();

    params.put("startTime", startTime);
    params.put("pageSize", pageSize);
    params.put("pageNum", pageNum);

    return params.toString();
}

For now we have the following implementation:

    @Override
    public String toString() {
        executeConcretely();
        return super.toString();
    }

We should implement it without executionConcretely

Common issue for collections toString method, especially huge collections

Metadata

Metadata

Assignees

Labels

ctg-bugIssue is a bugpriority-top-focusTop priority chosen by dev teamspec-internalInternal issuespec-release-tailingsFailed to include in the current release, let's include it in the next one

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions