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

Adding comments #1971

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open

Conversation

ayushjariyal
Copy link

Just adding comments on PLcEntityInterceptor.java file in Fallback section as i am just starting my open source journey

@ottlukas ottlukas added the java Pull requests that update Java code label Jan 10, 2025
@@ -520,6 +520,7 @@ static Object getTyped(Class<?> clazz, PlcReadResponse response, String sourceFi

// Fallback
Object responseObject = response.getObject(sourceFieldName);
// Assuming getAll() returns a collection or related structure for validation
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't understand the comment. Where does the getAll() come from?

Copy link
Author

Choose a reason for hiding this comment

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

Sorry, I am just starting my open-source journey. I have no intention to disturb you, but I want to ensure I am doing things correctly. Could you please help me in my journey?

Copy link
Contributor

Choose a reason for hiding this comment

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

First of all welcome the PLC4X Project :-). The question @sruehl has is why do you call the function "getAll()" is the function not called "getObject()" ? So where is the function getAll() come from? Where is it called? Other than beeing a little bit more precise and answer the question we follow "community over code" so every contribution, comment, question, testing etc. is welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants