書き換えない変数をfinalに

This commit is contained in:
r-ca 2024-01-08 12:47:39 +09:00
parent 649d6ccfdc
commit 5e1d1f6a76
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9

View File

@ -29,14 +29,14 @@ public class DocumentProcessorImpl implements DocumentProcessor{
// Magic Numbers // Magic Numbers
private static final String DEFAULT_SAVE_DIR = "raw"; private static final String DEFAULT_SAVE_DIR = "raw";
private DocumentDetail documentDetail; private final DocumentDetail documentDetail;
private XmlMetaModel xmlMetaModel; private XmlMetaModel xmlMetaModel;
private Path documentRootPath; private Path documentRootPath;
// Injection // Injection
private FileManagerFactory fileManagerFactory; private final FileManagerFactory fileManagerFactory;
private LacertaLogger logger; private final LacertaLogger logger;
private XmlMetaParser xmlMetaParser; private final XmlMetaParser xmlMetaParser;
@AssistedInject @AssistedInject
public DocumentProcessorImpl(FileManagerFactory fileManagerFactory, LacertaLogger logger, XmlMetaParser xmlMetaParser, @Assisted DocumentDetail documentDetail) { public DocumentProcessorImpl(FileManagerFactory fileManagerFactory, LacertaLogger logger, XmlMetaParser xmlMetaParser, @Assisted DocumentDetail documentDetail) {
this.fileManagerFactory = fileManagerFactory; this.fileManagerFactory = fileManagerFactory;