Remove notnull
This commit is contained in:
parent
014fa05271
commit
2ed4b01eb8
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue