[maven] IDEA-313767 MavenArtifactEvent.myArtifactEventType @NotNull

GitOrigin-RevId: 09ca03a5972e368416f8a4f2d7068b4b04ef18bb
This commit is contained in:
Dmitry Kichinsky
2023-05-13 22:32:18 +02:00
committed by intellij-monorepo-bot
parent 4675fa6fc5
commit bb73231ab5

View File

@@ -1,6 +1,8 @@
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package org.jetbrains.idea.maven.server;
import org.jetbrains.annotations.NotNull;
import java.io.Serializable;
public class MavenArtifactEvent implements Serializable {
@@ -12,13 +14,13 @@ public class MavenArtifactEvent implements Serializable {
}
private final MavenServerConsoleIndicator.ResolveType myResolveType;
private final ArtifactEventType myArtifactEventType;
@NotNull private final ArtifactEventType myArtifactEventType;
private final String myDependencyId;
private final String myErrorMessage;
private final String myStackTrace;
public MavenArtifactEvent(MavenServerConsoleIndicator.ResolveType type,
ArtifactEventType eventType,
@NotNull ArtifactEventType eventType,
String id,
String message,
String trace) {
@@ -33,6 +35,7 @@ public class MavenArtifactEvent implements Serializable {
return myResolveType;
}
@NotNull
public ArtifactEventType getArtifactEventType() {
return myArtifactEventType;
}