diff options
author | John Ahlroos <john@vaadin.com> | 2012-09-07 10:32:05 +0300 |
---|---|---|
committer | John Ahlroos <john@vaadin.com> | 2012-09-07 10:32:05 +0300 |
commit | 52fa9639bab979d13e852e42f6aba6fe60b4ffe4 (patch) | |
tree | aaf4486eae2df058d609da7391bdf788fdf32614 /uitest/src/com/vaadin/tests/TestForUpload.java | |
parent | 074b1095ee302af67626055820853ed1b8a4ea86 (diff) | |
download | vaadin-framework-52fa9639bab979d13e852e42f6aba6fe60b4ffe4.tar.gz vaadin-framework-52fa9639bab979d13e852e42f6aba6fe60b4ffe4.zip |
Removed deprecated ContenMode.XHTML
Diffstat (limited to 'uitest/src/com/vaadin/tests/TestForUpload.java')
-rw-r--r-- | uitest/src/com/vaadin/tests/TestForUpload.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/uitest/src/com/vaadin/tests/TestForUpload.java b/uitest/src/com/vaadin/tests/TestForUpload.java index 7c2359a404..7146b1a4ff 100644 --- a/uitest/src/com/vaadin/tests/TestForUpload.java +++ b/uitest/src/com/vaadin/tests/TestForUpload.java @@ -152,11 +152,11 @@ public class TestForUpload extends CustomComponent implements "Upload finished, but output buffer is null")); } else { status.addComponent(new Label("<b>Name:</b> " - + event.getFilename(), ContentMode.XHTML)); + + event.getFilename(), ContentMode.HTML)); status.addComponent(new Label("<b>Mimetype:</b> " - + event.getMIMEType(), ContentMode.XHTML)); + + event.getMIMEType(), ContentMode.HTML)); status.addComponent(new Label("<b>Size:</b> " - + event.getLength() + " bytes.", ContentMode.XHTML)); + + event.getLength() + " bytes.", ContentMode.HTML)); status.addComponent(new Link("Download " + buffer.getFileName(), new StreamResource(buffer, |