Skip to content
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

Closed
wants to merge 9 commits into from
Closed

Minor updates #36

wants to merge 9 commits into from

Conversation

jhult
Copy link
Contributor

@jhult jhult commented Mar 16, 2020

Some minor updates to Vaadin 15 codebase

Copy link
Owner

@mcollovati mcollovati left a 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() {
Copy link
Owner

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?

Copy link
Owner

@mcollovati mcollovati left a 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 {
Copy link
Owner

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;
Copy link
Owner

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;
Copy link
Owner

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.

@jhult jhult closed this May 21, 2020
@jhult jhult deleted the vaadin-15 branch May 30, 2020 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants