Skip to content

[java] implement separate Origin class for WheelInput#10636

Merged
diemol merged 1 commit intoSeleniumHQ:trunkfrom
titusfortner:java_scroll_origin
May 12, 2022
Merged

[java] implement separate Origin class for WheelInput#10636
diemol merged 1 commit intoSeleniumHQ:trunkfrom
titusfortner:java_scroll_origin

Conversation

@titusfortner
Copy link
Copy Markdown
Member

This is what I was talking about in the TLC meeting. I'd rather have a separate implementation than use one from another (tangential but still unrelated) class that has an unsupported method that we have to treat differently.

(I also have an idea for how I'd like to build on this class in a way that requires it to be independent).

@titusfortner titusfortner added this to the 4.2 milestone May 11, 2022
@titusfortner titusfortner requested a review from pujagani May 11, 2022 17:41
@titusfortner titusfortner self-assigned this May 11, 2022
@titusfortner titusfortner added the C-java Java Bindings label May 11, 2022
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 11, 2022

Codecov Report

Merging #10636 (3a41266) into trunk (dab928e) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##            trunk   #10636   +/-   ##
=======================================
  Coverage   45.58%   45.58%           
=======================================
  Files          86       86           
  Lines        5739     5739           
  Branches      274      274           
=======================================
  Hits         2616     2616           
  Misses       2849     2849           
  Partials      274      274           

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 dab928e...3a41266. Read the comment docs.

Copy link
Copy Markdown
Contributor

@pujagani pujagani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did bump across this when implementing scroll but was not sure which is the best way to go due to code repetition. This is definitely a cleaner approach. Thank you @titusfortner!

@diemol diemol force-pushed the java_scroll_origin branch from 3a41266 to 4eff61d Compare May 12, 2022 13:45
@sonarqubecloud
Copy link
Copy Markdown

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@diemol diemol merged commit 8bcf64c into SeleniumHQ:trunk May 12, 2022
elgatov pushed a commit to elgatov/selenium that referenced this pull request Jun 27, 2022
@titusfortner titusfortner deleted the java_scroll_origin branch December 4, 2022 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-java Java Bindings

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants