mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2026-11-02 11:37:37 +00:00
リファクタリング
This commit is contained in:
1 file changed
+7
-7
@@ -34,17 +34,17 @@ public class DocumentProcessorImpl implements DocumentProcessor{
|
|||||||
private XmlMetaModel xmlMetaModel;
|
private XmlMetaModel xmlMetaModel;
|
||||||
|
|
||||||
// Injection
|
// Injection
|
||||||
@Inject
|
private FileManagerFactory fileManagerFactory;
|
||||||
FileManagerFactory fileManagerFactory;
|
|
||||||
|
|
||||||
@Inject
|
private LacertaLogger logger;
|
||||||
LacertaLogger logger;
|
|
||||||
|
|
||||||
@Inject
|
private XmlMetaParser xmlMetaParser;
|
||||||
XmlMetaParser xmlMetaParser;
|
|
||||||
|
|
||||||
@AssistedInject
|
@AssistedInject
|
||||||
public DocumentProcessorImpl(@Assisted DocumentDetail documentDetail) {
|
public DocumentProcessorImpl(FileManagerFactory fileManagerFactory, LacertaLogger logger, XmlMetaParser xmlMetaParser, @Assisted DocumentDetail documentDetail) {
|
||||||
|
this.fileManagerFactory = fileManagerFactory;
|
||||||
|
this.logger = logger;
|
||||||
|
this.xmlMetaParser = xmlMetaParser;
|
||||||
if (documentDetail == null) {
|
if (documentDetail == null) {
|
||||||
throw new IllegalArgumentException("documentDetail must not be null");
|
throw new IllegalArgumentException("documentDetail must not be null");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user