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