Skip to content

Commit

Permalink
Fixed checkstyle ImportOrder error (eclipse-ee4j#589)
Browse files Browse the repository at this point in the history
  • Loading branch information
greek1979 committed Feb 25, 2023
1 parent 3c78ff7 commit 52c034c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
import java.util.ArrayDeque;
import java.util.Deque;

import org.eclipse.yasson.internal.properties.MessageKeys;
import org.eclipse.yasson.internal.properties.Messages;

import jakarta.json.JsonArray;
import jakarta.json.JsonNumber;
import jakarta.json.JsonObject;
Expand All @@ -28,6 +25,9 @@
import jakarta.json.stream.JsonLocation;
import jakarta.json.stream.JsonParser;

import org.eclipse.yasson.internal.properties.MessageKeys;
import org.eclipse.yasson.internal.properties.Messages;

/**
* Adapter for {@link JsonParser}, that reads a {@link JsonStructure} content tree instead of JSON text.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2016, 2022 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2016, 2023 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
Expand Down Expand Up @@ -100,7 +100,7 @@ public void putAnnotation(Annotation annotation, boolean inherited, Class<?> def
// }
// annotations.put(annotation.annotationType(), new AnnotationWrapper(annotation, inherited));
annotations.computeIfAbsent(annotation.annotationType(), aClass -> new LinkedList<>())
.add(new AnnotationWrapper(annotation, inherited, definedType));
.add(new AnnotationWrapper<Annotation>(annotation, inherited, definedType));
}

public void putAnnotationWrapper(AnnotationWrapper<?> annotationWrapper) {
Expand Down

0 comments on commit 52c034c

Please sign in to comment.