Skip to content

Conversation

@morningman
Copy link
Contributor

The errorMsg in TBrokerOperationStatus is set to null because of
invalid string joint operation.

String str = null;
System.out.println("get string: " + str != null ? str : "null string");

Above code will get null, but excepted: get string: null string
This should be right:

System.out.println("get string: " + (str != null ? str : "null string"));

The errorMsg in TBrokerOperationStatus is set to null because of
invalid string joint operation.
@imay imay closed this Aug 11, 2019
@imay imay reopened this Aug 11, 2019
@imay imay merged commit b4ba77a into apache:master Aug 12, 2019
@imay imay mentioned this pull request Sep 26, 2019
swjtu-zhanglei pushed a commit to swjtu-zhanglei/incubator-doris that referenced this pull request Jul 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants