File tree Expand file tree Collapse file tree
src/main/java/com/flowingcode/vaadin/addons/uploadhelper Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8383 <artifactId >vaadin-core</artifactId >
8484 <optional >true</optional >
8585 </dependency >
86+ <dependency >
87+ <groupId >com.flowingcode.vaadin</groupId >
88+ <artifactId >json-migration-helper</artifactId >
89+ <version >0.9.2</version >
90+ <scope >compile</scope >
91+ </dependency >
8692 <dependency >
8793 <groupId >org.projectlombok</groupId >
8894 <artifactId >lombok</artifactId >
Original file line number Diff line number Diff line change 77 * Licensed under the Apache License, Version 2.0 (the "License");
88 * you may not use this file except in compliance with the License.
99 * You may obtain a copy of the License at
10- *
10+ *
1111 * http://www.apache.org/licenses/LICENSE-2.0
12- *
12+ *
1313 * Unless required by applicable law or agreed to in writing, software
1414 * distributed under the License is distributed on an "AS IS" BASIS,
1515 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1919 */
2020package com .flowingcode .vaadin .addons .uploadhelper ;
2121
22+ import com .flowingcode .vaadin .jsonmigration .JsonMigration ;
2223import com .vaadin .flow .component .upload .FinishedEvent ;
2324import com .vaadin .flow .component .upload .Upload ;
2425import elemental .json .Json ;
2526import elemental .json .JsonObject ;
2627import java .io .Serializable ;
2728import lombok .AccessLevel ;
2829import lombok .Getter ;
30+ import lombok .experimental .ExtensionMethod ;
2931
3032/** Represents a file in the file list of an {@link Upload} component. */
3133@ SuppressWarnings ("serial" )
34+ @ ExtensionMethod (value = JsonMigration .class , suppressBaseMethods = true )
3235public final class FileInfo implements Serializable {
3336
3437 private final String name ;
You can’t perform that action at this time.
0 commit comments