File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed
baseline/src/main/java/com/google/gcloud/pubsub/spi
main/java/com/google/gcloud/pubsub/spi
test/java/com/google/gcloud/pubsub/spi Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ public static final String parseTopicFromTopicPath(String topicPath) {
182182 * <!-- end manual edit -->
183183 */
184184 public static PublisherApi create () throws IOException {
185- return create (newSettings ());
185+ return create (PublisherSettings . create ());
186186 }
187187
188188 /**
Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ public static final String parseSubscriptionFromSubscriptionPath(String subscrip
185185 * <!-- end manual edit -->
186186 */
187187 public static SubscriberApi create () throws IOException {
188- return create (newSettings ());
188+ return create (SubscriberSettings . create ());
189189 }
190190
191191 /**
Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ public static final String parseTopicFromTopicPath(String topicPath) {
182182 * <!-- end manual edit -->
183183 */
184184 public static PublisherApi create () throws IOException {
185- return create (newSettings ());
185+ return create (PublisherSettings . create ());
186186 }
187187
188188 /**
Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ public static final String parseSubscriptionFromSubscriptionPath(String subscrip
185185 * <!-- end manual edit -->
186186 */
187187 public static SubscriberApi create () throws IOException {
188- return create (newSettings ());
188+ return create (SubscriberSettings . create ());
189189 }
190190
191191 /**
Original file line number Diff line number Diff line change @@ -75,12 +75,12 @@ public void setUp() throws Exception {
7575 .setTotalTimeout (30000L )
7676 .build ();
7777
78- PublisherSettings publisherSettings = PublisherApi . newSettings ();
78+ PublisherSettings publisherSettings = PublisherSettings . create ();
7979 publisherSettings .setRetryParamsOnAllMethods (retryParams );
8080 publisherSettings .provideChannelWith (channel );
8181 publisherApi = PublisherApi .create (publisherSettings );
8282
83- SubscriberSettings subscriberSettings = SubscriberApi . newSettings ();
83+ SubscriberSettings subscriberSettings = SubscriberSettings . create ();
8484 subscriberSettings .setRetryParamsOnAllMethods (retryParams );
8585 subscriberSettings .provideChannelWith (channel );
8686 subscriberApi = SubscriberApi .create (subscriberSettings );
You can’t perform that action at this time.
0 commit comments