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 — Compare with value and not with reference by matteobaccan · Pull Request #39 · ArcadeData/arcadedb

Conversation

@matteobaccan

@matteobaccan matteobaccan commented Sep 8, 2021

Copy link
Copy Markdown
Contributor

What does this PR do?
I have found this line of code and I think maybe a wrong variable compare.
Both vars are String. In this situation, the correct comparison is a .equals() not a ==

Motivation
I think to have found a bug inside the code

Related issues

Additional Notes

Checklist
[x] I have run the build using mvn clean package command
[] My unit tests cover both failure and success scenarios

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@matteobaccan
Compare with value and not with reference
a868e50
(cherry picked from commit a3eeb52f27b85620b78486437c92daec762388e4)
@lvca
lvca merged commit 915eda1 into ArcadeData:main Sep 8, 2021
@lvca lvca self-assigned this Sep 8, 2021
@lvca lvca added the bug label Sep 8, 2021
@lvca

lvca commented Sep 8, 2021

Copy link
Copy Markdown
Member

Thanks Matteo!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

mergify Bot added a commit that referenced this pull request Dec 1, 2025
@mergify
chore(deps): bump swagger.version from 2.2.40 to 2.2.41 [skip ci]
0728da7
Bumps `swagger.version` from 2.2.40 to 2.2.41.
Updates `io.swagger.core.v3:swagger-core` from 2.2.40 to 2.2.41
Release notes

*Sourced from [io.swagger.core.v3:swagger-core's releases](https://github.com/swagger-api/swagger-core/releases).*

> Swagger-core 2.2.41 released!
> -----------------------------
>
> * Fix/annotated type caching 5003 ([#5005](https://redirect.github.com/swagger-api/swagger-core/issues/5005))
> * [#4852](https://redirect.github.com/swagger-api/swagger-core/issues/4852) Unit test and fix to allow recursive models to process without StackOverflow ([#5004](https://redirect.github.com/swagger-api/swagger-core/issues/5004))
> * fix: Refactor JsonAssert and apply to json/yaml assertions ([#5002](https://redirect.github.com/swagger-api/swagger-core/issues/5002))
> * fix: use arraySchema when deciding required of an array ([#4998](https://redirect.github.com/swagger-api/swagger-core/issues/4998))
> * fix: NotBlank and NotEmpty annotations follow NotNull behavior ([#4968](https://redirect.github.com/swagger-api/swagger-core/issues/4968))


Commits

* [`fae397a`](swagger-api/swagger-core@fae397a) prepare release 2.2.41 ([#5022](https://redirect.github.com/swagger-api/swagger-core/issues/5022))
* [`cf11db7`](swagger-api/swagger-core@cf11db7) fix: use arraySchema when deciding required of an array ([#4998](https://redirect.github.com/swagger-api/swagger-core/issues/4998)) Fixes: [#4341](https://redirect.github.com/swagger-api/swagger-core/issues/4341)
* [`2546511`](swagger-api/swagger-core@2546511) fix: stops reprocessing parameters extracted from nested BeanParam Fixes: [#39](https://redirect.github.com/swagger-api/swagger-core/issues/39)...
* [`23d2971`](swagger-api/swagger-core@23d2971) fix: NotBlank and NotEmpty annotations follow NotNull behavior ([#4968](https://redirect.github.com/swagger-api/swagger-core/issues/4968))
* [`75af075`](swagger-api/swagger-core@75af075) fix: Refactor JsonAssert and apply to json/yaml assertions ([#5002](https://redirect.github.com/swagger-api/swagger-core/issues/5002))
* [`0a5556a`](swagger-api/swagger-core@0a5556a) [#4852](https://redirect.github.com/swagger-api/swagger-core/issues/4852) fix: allow recursive models to process without StackOverflow ([#5004](https://redirect.github.com/swagger-api/swagger-core/issues/5004))
* [`8260e8f`](swagger-api/swagger-core@8260e8f) Fix/annotated type caching 5003 ([#5005](https://redirect.github.com/swagger-api/swagger-core/issues/5005))
* [`99ba4cd`](swagger-api/swagger-core@99ba4cd) bump snapshot 2.2.41-SNAPSHOT
* See full diff in [compare view](swagger-api/swagger-core@v2.2.40...v2.2.41)
  
Updates `io.swagger.core.v3:swagger-annotations` from 2.2.40 to 2.2.41
Updates `io.swagger.core.v3:swagger-models` from 2.2.40 to 2.2.41
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
Dependabot commands and options
  
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show  ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
tae898 referenced this pull request in humemai/arcadedb-embedded-python Jun 28, 2026
@lvca
Merge pull request #39 from matteobaccan/compareerror
d8d3f80
Compare with value and not with reference
tae898 referenced this pull request in humemai/arcadedb-embedded-python Jun 28, 2026
@mergify
chore(deps): bump swagger.version from 2.2.40 to 2.2.41 [skip ci]
ceb28ef
Bumps `swagger.version` from 2.2.40 to 2.2.41.
Updates `io.swagger.core.v3:swagger-core` from 2.2.40 to 2.2.41
Release notes

*Sourced from [io.swagger.core.v3:swagger-core's releases](https://github.com/swagger-api/swagger-core/releases).*

> Swagger-core 2.2.41 released!
> -----------------------------
>
> * Fix/annotated type caching 5003 ([ArcadeData#5005](https://redirect.github.com/swagger-api/swagger-core/issues/5005))
> * [ArcadeData#4852](https://redirect.github.com/swagger-api/swagger-core/issues/4852) Unit test and fix to allow recursive models to process without StackOverflow ([ArcadeData#5004](https://redirect.github.com/swagger-api/swagger-core/issues/5004))
> * fix: Refactor JsonAssert and apply to json/yaml assertions ([ArcadeData#5002](https://redirect.github.com/swagger-api/swagger-core/issues/5002))
> * fix: use arraySchema when deciding required of an array ([ArcadeData#4998](https://redirect.github.com/swagger-api/swagger-core/issues/4998))
> * fix: NotBlank and NotEmpty annotations follow NotNull behavior ([ArcadeData#4968](https://redirect.github.com/swagger-api/swagger-core/issues/4968))


Commits

* [`fae397a`](swagger-api/swagger-core@fae397a) prepare release 2.2.41 ([ArcadeData#5022](https://redirect.github.com/swagger-api/swagger-core/issues/5022))
* [`cf11db7`](swagger-api/swagger-core@cf11db7) fix: use arraySchema when deciding required of an array ([ArcadeData#4998](https://redirect.github.com/swagger-api/swagger-core/issues/4998)) Fixes: [ArcadeData#4341](https://redirect.github.com/swagger-api/swagger-core/issues/4341)
* [`2546511`](swagger-api/swagger-core@2546511) fix: stops reprocessing parameters extracted from nested BeanParam Fixes: [#39](https://redirect.github.com/swagger-api/swagger-core/issues/39)...
* [`23d2971`](swagger-api/swagger-core@23d2971) fix: NotBlank and NotEmpty annotations follow NotNull behavior ([ArcadeData#4968](https://redirect.github.com/swagger-api/swagger-core/issues/4968))
* [`75af075`](swagger-api/swagger-core@75af075) fix: Refactor JsonAssert and apply to json/yaml assertions ([ArcadeData#5002](https://redirect.github.com/swagger-api/swagger-core/issues/5002))
* [`0a5556a`](swagger-api/swagger-core@0a5556a) [ArcadeData#4852](https://redirect.github.com/swagger-api/swagger-core/issues/4852) fix: allow recursive models to process without StackOverflow ([ArcadeData#5004](https://redirect.github.com/swagger-api/swagger-core/issues/5004))
* [`8260e8f`](swagger-api/swagger-core@8260e8f) Fix/annotated type caching 5003 ([ArcadeData#5005](https://redirect.github.com/swagger-api/swagger-core/issues/5005))
* [`99ba4cd`](swagger-api/swagger-core@99ba4cd) bump snapshot 2.2.41-SNAPSHOT
* See full diff in [compare view](swagger-api/swagger-core@v2.2.40...v2.2.41)
  
Updates `io.swagger.core.v3:swagger-annotations` from 2.2.40 to 2.2.41
Updates `io.swagger.core.v3:swagger-models` from 2.2.40 to 2.2.41
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
Dependabot commands and options
  
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show  ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
This was referenced Sep 14, 2026
fix: batch of 5 simple bugs (#7107, #7108, #7113, #7116, #7123) #7606
Merged
perf(opencypher): split on a literal delimiter without a regex #7753
Merged
ci: run the HA integration tests nightly instead of on every push #7852
Merged
Fix four Postgres wire protocol defects (#7851, #7801, #7775, #7470) #7853
Merged
fix(#7531): the leader seeds the cluster security documents on every peer admission #7839
Merged
fix(bolt,studio): name the failure, and show the cluster and the graph before the click (#7915, #7874, #7538, #7548, #7847) #7939
Merged
ci(issues): triage new issues by gravity, and fold related minor ones into umbrella issues #7947
Merged
fix(engine): CHECK DATABASE finds the records that violate their own type's existence constraints (#7952) #7979
Merged
This was referenced Sep 21, 2026
fix(importer): caller-owned tx, RDF arity, GraphSON/GraphML stats, CSV quote detection #8116
Merged
test(#8279): seeded HA chaos test for compound failure and recovery scenarios #8280
Merged
@robfrank robfrank mentioned this pull request Oct 21, 2026
chore(k8s): remove the plain StatefulSet example, the Helm chart is the only Kubernetes deployment #10542
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@lvca lvca

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@matteobaccan @lvca
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.