Skip to content

[hotfix] Skip void or methods coming from Object or AbstractProvider - #1267

Merged
snuyanzin merged 1 commit into
datafaker-net:mainfrom
snuyanzin:maps
Jun 22, 2024
Merged

[hotfix] Skip void or methods coming from Object or AbstractProvider#1267
snuyanzin merged 1 commit into
datafaker-net:mainfrom
snuyanzin:maps

Conversation

@snuyanzin

Copy link
Copy Markdown
Collaborator

No need to keep in cache void methods or methods coming from Object/AbstractProvider

one of the findings while looking at #1263

@what-the-diff

what-the-diff Bot commented Jun 22, 2024

Copy link
Copy Markdown

PR Summary

  • Enhancement in BaseFaker.java
    The team made changes in BaseFaker.java to improve its efficiency. Now, it's programmed to ignore certain methods under specific conditions, making it run smoother and faster. This includes skipping methods that need input parameters or are found in the Object or AbstractProvider classes, as well as any methods that don't return any value (void). This improvement streamlines our code, leading to smoother overall operations.

@snuyanzin
snuyanzin merged commit d7c72c8 into datafaker-net:main Jun 22, 2024
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.

2 participants