Skip to content

Commit

Permalink
Adding AuthRuleWrapper for Topic Description (Azure#30516)
Browse files Browse the repository at this point in the history
  • Loading branch information
ki1729 authored Aug 18, 2022
1 parent 1109e4b commit 0bc434d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions sdk/servicebus/azure-messaging-servicebus/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

### Bugs Fixed
- Fixed incorrect message ordering after session processor abandon message and when `maxConcurrentSessions` is 1. ([#24064](https://github.com/Azure/azure-sdk-for-java/issues/24064), [#30027](https://github.com/Azure/azure-sdk-for-java/issues/30027))
- Added default constructor For AuthRulesWrapper in `TopicDescription`
### Other Changes

## 7.10.0 (2022-07-12)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
import java.time.Duration;
import java.time.OffsetDateTime;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

/** The TopicDescription model. */
Expand Down Expand Up @@ -95,6 +96,11 @@ private static final class AuthorizationRulesWrapper {
@JacksonXmlProperty(localName = "AuthorizationRule")
private final List<AuthorizationRuleImpl> items;

@JsonCreator
private AuthorizationRulesWrapper() {
this.items = Collections.emptyList();
}

@JsonCreator
private AuthorizationRulesWrapper(
@JacksonXmlProperty(localName = "AuthorizationRule") List<AuthorizationRuleImpl> items) {
Expand Down

0 comments on commit 0bc434d

Please sign in to comment.