Skip to content
This repository was archived by the owner on Aug 30, 2026. It is now read-only.

feat: async work as functional interface - #1068

Merged
thiagotnunes merged 1 commit into
googleapis:masterfrom
thiagotnunes:async-work-functional-interface
Apr 15, 2021
Merged

thiagotnunes merged 1 commit into
googleapis:masterfrom
thiagotnunes:async-work-functional-interface

Conversation

@thiagotnunes

Copy link
Copy Markdown
Contributor

Marks the async work interface as a functional interface.

This PR also modifies all of its usages to the lambda syntax. Only syntatic changes were made, no logic changes were made here.

Marks the async work interface as a functional interface.
@thiagotnunes
thiagotnunes requested review from a team April 15, 2021 06:51
@product-auto-label product-auto-label Bot added the api: spanner Issues related to the googleapis/java-spanner API. label Apr 15, 2021
@thiagotnunes
thiagotnunes requested a review from olavloite April 15, 2021 06:51
@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Apr 15, 2021
@codecov

codecov Bot commented Apr 15, 2021 •

Copy link
Copy Markdown

Codecov Report

Merging #1068 (a8cf021) into master (1d4eed4) will increase coverage by 0.02%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #1068      +/-   ##
============================================
+ Coverage     85.24%   85.26%   +0.02%     
- Complexity     2658     2661       +3     
============================================
  Files           155      155              
  Lines         14453    14453              
  Branches       1362     1362              
============================================
+ Hits          12320    12324       +4     
+ Misses         1565     1560       -5     
- Partials        568      569       +1     
Impacted Files Coverage Δ Complexity Δ
...a/com/google/cloud/spanner/SessionPoolOptions.java 69.53% <0.00%> (ø) 18.00% <0.00%> (+1.00%)
...ain/java/com/google/cloud/spanner/SessionPool.java 89.12% <0.00%> (+0.19%) 73.00% <0.00%> (+1.00%)
.../google/cloud/spanner/SpannerExceptionFactory.java 89.81% <0.00%> (+1.85%) 49.00% <0.00%> (+1.00%)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1d4eed4...a8cf021. Read the comment docs.

@thiagotnunes
thiagotnunes merged commit 734fb60 into googleapis:master Apr 15, 2021
@thiagotnunes
thiagotnunes deleted the async-work-functional-interface branch April 15, 2021 09:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: spanner Issues related to the googleapis/java-spanner API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants