|
27 | 27 | import com.google.api.gax.rpc.UnaryCallable; |
28 | 28 | import com.google.cloud.devtools.containeranalysis.v1beta1.stub.GrafeasV1Beta1Stub; |
29 | 29 | import com.google.cloud.devtools.containeranalysis.v1beta1.stub.GrafeasV1Beta1StubSettings; |
| 30 | +import com.google.common.util.concurrent.MoreExecutors; |
30 | 31 | import com.google.containeranalysis.v1beta1.NoteName; |
31 | 32 | import com.google.containeranalysis.v1beta1.OccurrenceName; |
32 | 33 | import com.google.containeranalysis.v1beta1.ProjectName; |
@@ -1895,7 +1896,8 @@ public static ApiFuture<ListOccurrencesPagedResponse> createAsync( |
1895 | 1896 | public ListOccurrencesPagedResponse apply(ListOccurrencesPage input) { |
1896 | 1897 | return new ListOccurrencesPagedResponse(input); |
1897 | 1898 | } |
1898 | | - }); |
| 1899 | + }, |
| 1900 | + MoreExecutors.directExecutor()); |
1899 | 1901 | } |
1900 | 1902 |
|
1901 | 1903 | private ListOccurrencesPagedResponse(ListOccurrencesPage page) { |
@@ -1972,7 +1974,8 @@ public static ApiFuture<ListNotesPagedResponse> createAsync( |
1972 | 1974 | public ListNotesPagedResponse apply(ListNotesPage input) { |
1973 | 1975 | return new ListNotesPagedResponse(input); |
1974 | 1976 | } |
1975 | | - }); |
| 1977 | + }, |
| 1978 | + MoreExecutors.directExecutor()); |
1976 | 1979 | } |
1977 | 1980 |
|
1978 | 1981 | private ListNotesPagedResponse(ListNotesPage page) { |
@@ -2047,7 +2050,8 @@ public static ApiFuture<ListNoteOccurrencesPagedResponse> createAsync( |
2047 | 2050 | public ListNoteOccurrencesPagedResponse apply(ListNoteOccurrencesPage input) { |
2048 | 2051 | return new ListNoteOccurrencesPagedResponse(input); |
2049 | 2052 | } |
2050 | | - }); |
| 2053 | + }, |
| 2054 | + MoreExecutors.directExecutor()); |
2051 | 2055 | } |
2052 | 2056 |
|
2053 | 2057 | private ListNoteOccurrencesPagedResponse(ListNoteOccurrencesPage page) { |
|
0 commit comments