書き換えない変数を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
private static final String DEFAULT_SAVE_DIR = "raw";
private DocumentDetail documentDetail;
private final DocumentDetail documentDetail;
private XmlMetaModel xmlMetaModel;
private Path documentRootPath;
// Injection
private FileManagerFactory fileManagerFactory;
private LacertaLogger logger;
private XmlMetaParser xmlMetaParser;
private final FileManagerFactory fileManagerFactory;
private final LacertaLogger logger;
private final XmlMetaParser xmlMetaParser;
@AssistedInject
public DocumentProcessorImpl(FileManagerFactory fileManagerFactory, LacertaLogger logger, XmlMetaParser xmlMetaParser, @Assisted DocumentDetail documentDetail) {
this.fileManagerFactory = fileManagerFactory;