diff options
author | Per-Åke Minborg <minborg@speedment.com> | 2016-10-28 10:24:51 -0700 |
---|---|---|
committer | Denis Anisimov <denis@vaadin.com> | 2016-11-09 15:32:57 +0200 |
commit | 0f42869ce1f81270141e94f169f1447febaff446 (patch) | |
tree | ca6ea02cdd637cc533572a19312041d8804c1525 /server/src/main/java/com/vaadin/ui/Html5File.java | |
parent | b85f6e4bdc49d9ea8693239fa15d1f2f239f85cf (diff) | |
download | vaadin-framework-0f42869ce1f81270141e94f169f1447febaff446.tar.gz vaadin-framework-0f42869ce1f81270141e94f169f1447febaff446.zip |
Use final modifier where appropriate
Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7226
Diffstat (limited to 'server/src/main/java/com/vaadin/ui/Html5File.java')
-rw-r--r-- | server/src/main/java/com/vaadin/ui/Html5File.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/src/main/java/com/vaadin/ui/Html5File.java b/server/src/main/java/com/vaadin/ui/Html5File.java index b3fcdb826f..b4434e75c9 100644 --- a/server/src/main/java/com/vaadin/ui/Html5File.java +++ b/server/src/main/java/com/vaadin/ui/Html5File.java @@ -27,10 +27,10 @@ import com.vaadin.server.StreamVariable; */ public class Html5File implements Serializable { - private String name; - private long size; + private final String name; + private final long size; private StreamVariable streamVariable; - private String type; + private final String type; Html5File(String name, long size, String mimeType) { this.name = name; |