Remove notnull

This commit is contained in:
Tadgh 2021-04-19 10:31:16 -04:00
parent 014fa05271
commit 2ed4b01eb8
1 changed files with 2 additions and 2 deletions

View File

@ -156,8 +156,8 @@ public class RequestPartitionHelperSvc implements IRequestPartitionHelperSvc {
* @param theRequest The {@link SystemRequestDetails} * @param theRequest The {@link SystemRequestDetails}
* @return the {@link RequestPartitionId} to be used for this request. * @return the {@link RequestPartitionId} to be used for this request.
*/ */
@NotNull @Nonnull
private RequestPartitionId getSystemRequestPartitionId(@NotNull RequestDetails theRequest) { private RequestPartitionId getSystemRequestPartitionId(@Nonnull RequestDetails theRequest) {
if (theRequest.getTenantId() != null) { if (theRequest.getTenantId() != null) {
if (theRequest.getTenantId().equals(ALL_PARTITIONS_NAME)) { if (theRequest.getTenantId().equals(ALL_PARTITIONS_NAME)) {
return RequestPartitionId.allPartitions(); return RequestPartitionId.allPartitions();