-
Notifications
You must be signed in to change notification settings - Fork 38
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
Lils2013 container #104
base: master
Are you sure you want to change the base?
Lils2013 container #104
Conversation
InstantiationException, NoSuchMethodException, CyclicReferenceException, InvocationTargetException { | ||
for (Bean bean : beans) { | ||
String clsName = bean.getClassName(); | ||
if (clsName.equals(className)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Код дублируетс
cls1 = Class.forName(bean1.getClassName()); | ||
if (bean.getProperties() != null) { | ||
for (Map.Entry<String, Property> entry1 : bean.getProperties().entrySet()) { | ||
if (entry1.getValue().getType() == REF && |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Уже выше проверили что REF
try { | ||
value = Integer.parseInt(entry.getValue().getValue()); | ||
arg[0] = int.class; | ||
} catch (NumberFormatException e) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Не все типы
No description provided.