Skip to content

Commit

Permalink
Reduce the number of changes in the PR
Browse files Browse the repository at this point in the history
  • Loading branch information
cromoteca committed Dec 10, 2024
1 parent 01d52c6 commit ba62d7c
Show file tree
Hide file tree
Showing 73 changed files with 79 additions and 74 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.vaadin.hilla;

import jakarta.annotation.Nonnull;
import javax.annotation.Nonnull;
import org.springframework.beans.BeansException;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
import java.util.Map;
import java.util.Optional;

import jakarta.annotation.Nonnull;
import javax.annotation.Nonnull;

import org.junit.Assert;
import org.junit.Before;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.vaadin.hilla.engine;

import jakarta.annotation.Nonnull;
import javax.annotation.Nonnull;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import java.util.List;
import java.util.Objects;

import jakarta.annotation.Nonnull;
import javax.annotation.Nonnull;

import com.vaadin.hilla.engine.commandrunner.CommandNotFoundException;
import com.vaadin.hilla.engine.commandrunner.CommandRunnerException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import com.vaadin.hilla.BrowserCallable;
import com.vaadin.hilla.Endpoint;
import com.vaadin.hilla.EndpointExposed;
import jakarta.annotation.Nonnull;
import javax.annotation.Nonnull;

import com.vaadin.hilla.parser.core.PluginConfiguration;
import com.vaadin.hilla.parser.plugins.backbone.BackbonePlugin;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import java.util.Set;
import java.util.stream.Collectors;

import jakarta.annotation.Nonnull;
import javax.annotation.Nonnull;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package com.vaadin.hilla.internal.fixtures;

import com.vaadin.hilla.BrowserCallable;
import com.vaadin.hilla.Endpoint;

/**
* A test class.
*/
@BrowserCallable
@Endpoint
public class MyEndpoint {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import java.util.Objects;

import jakarta.annotation.Nonnull;
import javax.annotation.Nonnull;

import com.vaadin.hilla.parser.models.ClassInfoModel;
import com.vaadin.hilla.parser.models.NamedModel;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import java.util.function.UnaryOperator;
import java.util.stream.Stream;

import jakarta.annotation.Nonnull;
import javax.annotation.Nonnull;

public final class NodeDependencies {
private final Stream<Node<?, ?>> childNodes;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import java.util.Objects;
import java.util.stream.Stream;

import jakarta.annotation.Nonnull;
import javax.annotation.Nonnull;

public final class NodePath<N extends Node<?, ?>> {
private final N node;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import java.util.function.Consumer;
import java.util.stream.Stream;

import jakarta.annotation.Nonnull;
import javax.annotation.Nonnull;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import java.util.stream.Collectors;
import java.util.stream.Stream;

import jakarta.annotation.Nonnull;
import javax.annotation.Nonnull;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import java.util.List;

import jakarta.annotation.Nonnull;
import javax.annotation.Nonnull;

import io.swagger.v3.oas.models.OpenAPI;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import java.util.stream.Collectors;
import java.util.stream.Stream;

import jakarta.annotation.Nonnull;
import javax.annotation.Nonnull;

import io.github.classgraph.AnnotationInfo;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import java.util.Optional;
import java.util.Set;

import jakarta.annotation.Nonnull;
import javax.annotation.Nonnull;

import io.github.classgraph.AnnotationInfo;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import java.util.Objects;

import jakarta.annotation.Nonnull;
import javax.annotation.Nonnull;

import io.github.classgraph.AnnotationEnumValue;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import java.util.Objects;

import jakarta.annotation.Nonnull;
import javax.annotation.Nonnull;

import io.github.classgraph.AnnotationParameterValue;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import java.lang.reflect.AnnotatedArrayType;
import java.util.Objects;

import jakarta.annotation.Nonnull;
import javax.annotation.Nonnull;

import io.github.classgraph.ArrayTypeSignature;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import java.lang.reflect.AnnotatedType;
import java.util.Objects;

import jakarta.annotation.Nonnull;
import javax.annotation.Nonnull;

import io.github.classgraph.BaseTypeSignature;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import java.util.Optional;
import java.util.function.BiPredicate;

import jakarta.annotation.Nonnull;
import javax.annotation.Nonnull;

import io.github.classgraph.ClassInfo;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import java.util.Objects;
import java.util.Optional;

import jakarta.annotation.Nonnull;
import javax.annotation.Nonnull;

/**
* An artificial ClassRefSignatureModel implementation.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import java.util.Objects;
import java.util.Optional;

import jakarta.annotation.Nonnull;
import javax.annotation.Nonnull;

import io.github.classgraph.ClassInfo;
import io.github.classgraph.ClassRefTypeSignature;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.vaadin.hilla.parser.models;

import jakarta.annotation.Nonnull;
import javax.annotation.Nonnull;

import java.lang.reflect.Field;
import java.util.Objects;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import java.util.List;
import java.util.Objects;

import jakarta.annotation.Nonnull;
import javax.annotation.Nonnull;

import io.github.classgraph.MethodInfo;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import java.lang.reflect.Parameter;
import java.util.Objects;

import jakarta.annotation.Nonnull;
import javax.annotation.Nonnull;

import io.github.classgraph.MethodParameterInfo;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import java.lang.reflect.AnnotatedWildcardType;
import java.lang.reflect.TypeVariable;

import jakarta.annotation.Nonnull;
import javax.annotation.Nonnull;

import io.github.classgraph.ArrayTypeSignature;
import io.github.classgraph.BaseTypeSignature;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import java.util.List;
import java.util.Objects;

import jakarta.annotation.Nonnull;
import javax.annotation.Nonnull;

import io.github.classgraph.TypeArgument;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import java.util.List;
import java.util.Objects;

import jakarta.annotation.Nonnull;
import javax.annotation.Nonnull;

import io.github.classgraph.TypeParameter;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import java.util.stream.Collectors;
import java.util.stream.Stream;

import jakarta.annotation.Nonnull;
import javax.annotation.Nonnull;

import com.vaadin.hilla.parser.utils.Streams;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import java.lang.reflect.AnnotatedTypeVariable;
import java.util.Objects;

import jakarta.annotation.Nonnull;
import javax.annotation.Nonnull;

import io.github.classgraph.TypeVariableSignature;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import java.util.Set;
import java.util.function.Consumer;

import jakarta.annotation.Nonnull;
import javax.annotation.Nonnull;

import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import java.util.stream.Collectors;
import java.util.stream.Stream;

import jakarta.annotation.Nonnull;
import javax.annotation.Nonnull;

import com.vaadin.hilla.parser.core.AbstractPlugin;
import com.vaadin.hilla.parser.core.NodeDependencies;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import java.util.ArrayList;
import java.util.List;

import jakarta.annotation.Nonnull;
import javax.annotation.Nonnull;

import com.vaadin.hilla.parser.core.AbstractPlugin;
import com.vaadin.hilla.parser.core.NodeDependencies;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import java.util.stream.Stream;

import jakarta.annotation.Nonnull;
import javax.annotation.Nonnull;

import com.vaadin.hilla.parser.core.AbstractPlugin;
import com.vaadin.hilla.parser.core.Node;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import java.util.stream.Stream;

import jakarta.annotation.Nonnull;
import javax.annotation.Nonnull;

import com.vaadin.hilla.parser.core.AbstractPlugin;
import com.vaadin.hilla.parser.core.Node;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.vaadin.hilla.parser.core.dependency;

import jakarta.annotation.Nonnull;
import javax.annotation.Nonnull;

public class DependencyEntityThree {
private String foo3 = "foo3";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.vaadin.hilla.parser.core.dependency;

import jakarta.annotation.Nonnull;
import javax.annotation.Nonnull;

public class DependencyEntityTwo {
public DependencyEntityOne foo2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import java.util.Optional;
import java.util.stream.Stream;

import jakarta.annotation.Nonnull;
import javax.annotation.Nonnull;

import com.vaadin.hilla.parser.core.AbstractPlugin;
import com.vaadin.hilla.parser.core.NodeDependencies;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.vaadin.hilla.parser.core.dependency;

import jakarta.annotation.Nonnull;
import javax.annotation.Nonnull;

public class PluginDependencyEntity {
private String pluginDependencyField = "foo";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.vaadin.hilla.parser.test.nodes;

import jakarta.annotation.Nonnull;
import javax.annotation.Nonnull;

import com.vaadin.hilla.parser.core.AbstractNode;
import com.vaadin.hilla.parser.models.ClassInfoModel;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.vaadin.hilla.parser.test.nodes;

import jakarta.annotation.Nonnull;
import javax.annotation.Nonnull;

import com.vaadin.hilla.parser.core.AbstractNode;
import com.vaadin.hilla.parser.models.ClassInfoModel;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.vaadin.hilla.parser.test.nodes;

import jakarta.annotation.Nonnull;
import javax.annotation.Nonnull;

import com.vaadin.hilla.parser.core.AbstractNode;
import com.vaadin.hilla.parser.models.FieldInfoModel;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.vaadin.hilla.parser.test.nodes;

import jakarta.annotation.Nonnull;
import javax.annotation.Nonnull;

import com.vaadin.hilla.parser.core.AbstractNode;
import com.vaadin.hilla.parser.models.MethodInfoModel;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.vaadin.hilla.parser.test.nodes;

import jakarta.annotation.Nonnull;
import javax.annotation.Nonnull;

import com.vaadin.hilla.parser.core.AbstractNode;
import com.vaadin.hilla.parser.models.MethodParameterInfoModel;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.vaadin.hilla.parser.test.nodes;

import jakarta.annotation.Nonnull;
import javax.annotation.Nonnull;

import com.vaadin.hilla.parser.core.AbstractNode;
import com.vaadin.hilla.parser.models.SignatureModel;
Expand Down
Loading

0 comments on commit ba62d7c

Please sign in to comment.