Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop I type parameter for FreeCursor #142

Merged
merged 1 commit into from
Oct 17, 2023
Merged

Conversation

geirolz
Copy link
Owner

@geirolz geirolz commented Oct 17, 2023

No description provided.

@geirolz geirolz self-assigned this Oct 17, 2023
@codecov
Copy link

codecov bot commented Oct 17, 2023

Codecov Report

Attention: 5 lines in your changes are missing coverage. Please review.

Comparison is base (dc16701) 65.59% compared to head (8bda070) 65.65%.
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #142      +/-   ##
==========================================
+ Coverage   65.59%   65.65%   +0.06%     
==========================================
  Files          59       59              
  Lines        2703     2705       +2     
  Branches      327      151     -176     
==========================================
+ Hits         1773     1776       +3     
+ Misses        930      929       -1     
Files Coverage Δ
core/src/main/scala/cats/xml/codec/Decoder.scala 76.63% <100.00%> (ø)
core/src/main/scala/cats/xml/cursor/Cursor.scala 58.06% <100.00%> (ø)
core/src/main/scala/cats/xml/xmlNode.scala 69.32% <100.00%> (ø)
...ain/scala-2/cats/xml/generic/MagnoliaDecoder.scala 82.50% <100.00%> (ø)
...re/src/main/scala/cats/xml/cursor/FreeCursor.scala 64.81% <58.33%> (+4.81%) ⬆️

... and 2 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -123,7 +117,7 @@
}
}

override def validate[OO >: O](validator: Validator[OO]): FreeCursor[Xml, OO] =
override def validate[OO >: O](validator: Validator[OO]): FreeCursor[OO] =

Check notice

Code scanning / Codacy-scalameta-pro (reported by Codacy)

Enforces type parameters naming convention Note

Type parameter 'OO' does not conform with naming standard.
@@ -50,8 +47,8 @@
* @return
* A new validated `FreeCursor`
*/
def validate[OO >: O](validator: Validator[OO]): FreeCursor[I, OO] =
FreeCursor.of((input: I) =>
def validate[OO >: O](validator: Validator[OO]): FreeCursor[OO] =

Check notice

Code scanning / Codacy-scalameta-pro (reported by Codacy)

Enforces type parameters naming convention Note

Type parameter 'OO' does not conform with naming standard.
@geirolz geirolz merged commit 71a99e7 into main Oct 17, 2023
19 checks passed
@geirolz geirolz deleted the Refactoring-free-cursor branch October 17, 2023 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant