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

Lils2013 container #104

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
Open

Conversation

Lils2013
Copy link

No description provided.

InstantiationException, NoSuchMethodException, CyclicReferenceException, InvocationTargetException {
for (Bean bean : beans) {
String clsName = bean.getClassName();
if (clsName.equals(className)) {
Copy link
Owner

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 &&
Copy link
Owner

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) {
Copy link
Owner

Choose a reason for hiding this comment

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

Не все типы

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