GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — `usingComparatorForFields` and `usingComparatorForType` documentation example using deprecated method · Issue #3711 · assertj/assertj

usingComparatorForFields and usingComparatorForType documentation example using deprecated method #3711

New issue
Copy link
New issue
Copy link
Closed
🚫 Deprecation
Closed
usingComparatorForFields and usingComparatorForType documentation example using deprecated method#3711
🚫 Deprecation
Copy link
Assignees
joel-costigliola
Labels
theme: documentationAn issue related to the documentation
Milestone
3.27.1

Description

@origin-coding
origin-coding
opened on Sep 13, 2022
Issue body actions

Ducumentation links:
https://www.javadoc.io/static/org.assertj/assertj-core/3.23.1/org/assertj/core/api/AbstractObjectAssert.html#usingComparatorForFields(java.util.Comparator,java.lang.String...)

https://www.javadoc.io/static/org.assertj/assertj-core/3.23.1/org/assertj/core/api/AbstractObjectAssert.html#usingComparatorForType(java.util.Comparator,java.lang.Class)

Description:
These two methods' code example uses a method called "isEqualToComparingFieldByField" and "isEqualToIgnoringNullFields".
Such methods are actually marked as Deprecated which means they are not supported.
So is there any plan to change the documentation using the new "RecursiveComparisonConfiguration" class?

Reacted by Moncef AOUDIA and Nikita Guchakov

Activity

  1. scordio
    transferred this issue fromassertj/docon Dec 22, 2024
  2. scordio
    added
    theme: documentationAn issue related to the documentation
    on Dec 22, 2024
  3. joel-costigliola
    self-assigned this
    on Dec 23, 2024
  4. joel-costigliola
    added this to the 3.27.1 milestone on Dec 23, 2024
  5. scordio
    changed the title [-]"usingComparatorForFields" and "usingComparatorForType" documentation example using deprecated method[/-] [+]`usingComparatorForFields` and `usingComparatorForType` documentation example using deprecated method[/+] on Dec 25, 2024
  6. joel-costigliola commented on Dec 25, 2024

    @joel-costigliola
    joel-costigliola
    on Dec 25, 2024
    Member
    More actions

    Since usingComparatorForFields is only used by deprecated assertions, I'll deprecate it too.

    It's not quite the case for usingComparatorForType that is used in returns and doesNotReturn assertions, so we will keep it for now.

  7. joel-costigliola
    closed this as completedin 6525864on Dec 25, 2024
  8. Bananeweizen
    added a commit that references this issue on Dec 27, 2024

    Deprecate usingComparatorForFields and remove deprecated assertions f…

    This issue will close once commit 6525864 is merged into the 'master' branch.
    6525864
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @joel-costigliola
    joel-costigliola

Labels

theme: documentationAn issue related to the documentation

Type

🚫 Deprecation

Projects

No projects

    Milestone

    • 3.27.1

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.