International-Data-Spaces-Association / ids-specification

The Dataspace Protocol is a set of specifications designed to facilitate interoperable data sharing between entities governed by usage control and based on Web technologies. These specifications define the schemas and protocols required for entities to publish data, negotiate Agreements, and access data in a data space
https://docs.internationaldataspaces.org/dataspace-protocol/
Apache License 2.0
30 stars 14 forks source link

Remove use of String.valueOf() and replace with proper null checking where required #95

Closed jimmarino closed 1 year ago

jimmarino commented 1 year ago

String.valueOf() is used in various places where a simple toString() will suffice. In some cases, null checks need to be performed as String.valueOf() will convert to "null," which can lead to subtle bugs.