diff options
author | Anna Koskinen <Ansku@users.noreply.github.com> | 2021-07-15 16:21:10 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-15 16:21:10 +0300 |
commit | 512703d56c11032740ed9d0c60ee180a438af415 (patch) | |
tree | ab1a71a83a4e6755dd0b4c35be8c63cbf37da8dc /server | |
parent | 3afe45849edc79f0e7b371a7fd3ef209292dce79 (diff) | |
download | vaadin-framework-512703d56c11032740ed9d0c60ee180a438af415.tar.gz vaadin-framework-512703d56c11032740ed9d0c60ee180a438af415.zip |
Checkstyle fixes (#12339)
- Added missing default sections to switch blocks.
- Added missing JavaDocs and JavaDoc parameters.
- Added wildcards where possible.
- Deprecated unused method.
- Fixed JavaDoc formatting.
- Removed inner assignments.
- Removed unused imports.
- Removed unused variables.
- Removed warning suppressions that were unnecessary or about boxing
(not tracked by coding conventions).
- Suppressed warnings about rawtypes, deprecation, and unchecked where
couldn't be avoided.
Diffstat (limited to 'server')
-rw-r--r-- | server/src/main/java/com/vaadin/ui/dnd/FileDropTarget.java | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/server/src/main/java/com/vaadin/ui/dnd/FileDropTarget.java b/server/src/main/java/com/vaadin/ui/dnd/FileDropTarget.java index 311bcebb34..aebd393b5f 100644 --- a/server/src/main/java/com/vaadin/ui/dnd/FileDropTarget.java +++ b/server/src/main/java/com/vaadin/ui/dnd/FileDropTarget.java @@ -169,18 +169,15 @@ public class FileDropTarget<T extends AbstractComponent> * @return Extended component. */ @Override - @SuppressWarnings("unchecked") public T getParent() { return super.getParent(); } private class FileReceiver implements StreamVariable { - private final String id; private Html5File file; public FileReceiver(String id, Html5File file) { - this.id = id; this.file = file; } |