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

Cleanup Java Reference implementation #2379

Merged
merged 3 commits into from
Jul 1, 2024
Merged

Conversation

pepone
Copy link
Member

@pepone pepone commented Jul 1, 2024

Fix #2344

@@ -395,22 +395,22 @@ public ObjectPrx ice_adapterId(String newAdapterId) {
newAdapterId = "";
}

if (newAdapterId.equals(_getReference().getAdapterId())) {
if (newAdapterId.equals(_reference.getAdapterId())) {
Copy link
Member

Choose a reason for hiding this comment

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

I don't understandand why you replaced calls to _getReference() by _reference only in some method of this file. Should it be a global replace instead?

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed, and replaced all occurrences.

@pepone pepone requested review from externl and removed request for InsertCreativityHere July 1, 2024 14:34
@bernardnormier bernardnormier requested review from InsertCreativityHere and removed request for externl July 1, 2024 15:54
Copy link
Member

@InsertCreativityHere InsertCreativityHere left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@pepone pepone merged commit 13cdd68 into zeroc-ice:main Jul 1, 2024
15 of 16 checks passed
InsertCreativityHere pushed a commit to InsertCreativityHere/compiler-comparison that referenced this pull request Jan 1, 2025
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.

Reference implementation factory methods, should always return a new reference
3 participants