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

“paddingFactor”没有set方法,是否可以正常初始化bean? #12

Closed
ghost opened this issue Oct 24, 2018 · 1 comment
Closed

Comments

@ghost
Copy link

ghost commented Oct 24, 2018

你好,
查看了下源代码,应该是spring基于XML通过set方式进行bean实例化。但类“CachedUidGenerator”中的成员变量“paddingFactor”没有set方法:setPaddingFactor()。不晓得我理解的对不对?

@ghost ghost changed the title “paddingFactor”没有set方法 “paddingFactor”没有set方法,是否可以正常赋值? Oct 24, 2018
@ghost ghost changed the title “paddingFactor”没有set方法,是否可以正常赋值? “paddingFactor”没有set方法,是否可以正常初始化bean? Oct 24, 2018
@baozhi
Copy link
Member

baozhi commented Nov 28, 2018

setPaddingFactor()遗漏掉了,未配置的话不影响使用。感兴趣的同学可以提个pr

@baozhi baozhi closed this as completed Nov 29, 2018
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

No branches or pull requests

1 participant