Make fields immutable (final) where possible

This commit is contained in:
René Scheibe
2022-06-08 16:13:03 +02:00
committed by GitHub
parent 9f4428153c
commit 80af14a2e6
40 changed files with 80 additions and 84 deletions

View File

@@ -32,11 +32,11 @@ import org.springframework.util.Assert;
*/
public class EmailFragment {
private Object data;
private final Object data;
private String filename;
private final String filename;
private File directory;
private final File directory;
/**
* Constructor.