Skip to content

Comments

Dlopatkin container#111

Open
DLopatkin wants to merge 7 commits intoarhangeldim:masterfrom
DLopatkin:Dlopatkin-container
Open

Dlopatkin container#111
DLopatkin wants to merge 7 commits intoarhangeldim:masterfrom
DLopatkin:Dlopatkin-container

Conversation

@DLopatkin
Copy link

No description provided.

}
field.setAccessible(true);
field.set(instance, getById(property.getValue()));
field.setAccessible(false);
Copy link
Owner

Choose a reason for hiding this comment

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

Не надо выставлять false

if (property.getName().equals(field.getName())) {
if (property.getType() == ValueType.VAL) {
field.setAccessible(true);
field.set(instance, Integer.parseInt(property.getValue()));
Copy link
Owner

Choose a reason for hiding this comment

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

Если не Integer?

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