azure-sdk-for-java icon indicating copy to clipboard operation
azure-sdk-for-java copied to clipboard

Blob and Queue : ServiceProperties.Logging: backing fields should be "boolean"

Open jcookems opened this issue 14 years ago • 0 comments

In ServiceProperties.Logging, the Read/Write/Delete properties are "boolean" (basic true/false), while the backing fields are "Boolean" (nullable, so true/false/null).

This means the following code gives are NullPointerException:

Logging l = new Logging();
l.isDelete();

The fix is to make the backing fields "boolean"

jcookems avatar Mar 20 '12 16:03 jcookems