New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minor updates #36
Minor updates #36
Conversation
Fix license Fix license
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, do not delete MIT.txt; it is used by maven license plugin to update source code headers.
Also, for root LICENSE file I prefer no markdown extension.
public final VertxVaadinService vaadinService() { | ||
return service; | ||
@SuppressWarnings("unchecked") | ||
public final <T extends VertxVaadinService> T vaadinService() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please explain why this final method should be generic?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are all this gitignore additions related to IDE configuration and Vaadin applications development (eg npm)?
|
||
private transient Object object; | ||
public class SerializableHolder implements ClusterSerializable, Serializable { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This class was not mean to be used directly by standard serialization, but only within vertx session.
Have you found any problem on having it not Serializable?
|
||
public SerializableHolder() { | ||
} | ||
private transient Object object; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please move the field declaration above the constructor?
@@ -28,21 +28,20 @@ | |||
import java.io.ObjectOutputStream; | |||
import java.util.function.Consumer; | |||
|
|||
import io.vertx.core.buffer.Buffer; | |||
import org.slf4j.Logger; | |||
import org.slf4j.LoggerFactory; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems org.slf4j.LoggerFactory
import was accidentally deleted.
Some minor updates to Vaadin 15 codebase