IDEA-CR-57635: cleanup
authorVladislav.Soroka <Vladislav.Soroka@jetbrains.com>
Thu, 23 Jan 2020 07:37:14 +0000 (10:37 +0300)
committerintellij-monorepo-bot <intellij-monorepo-bot-no-reply@jetbrains.com>
Thu, 23 Jan 2020 08:05:03 +0000 (08:05 +0000)
GitOrigin-RevId: 340b5db3747ee3661d4d854d4b6bf35165629471

platform/external-system-rt/src/com/intellij/openapi/externalSystem/model/project/dependencies/AbstractDependencyNode.java
platform/external-system-rt/src/com/intellij/openapi/externalSystem/model/project/dependencies/ComponentDependenciesImpl.java
platform/external-system-rt/src/com/intellij/openapi/externalSystem/model/project/dependencies/DependencyScopeNode.java
platform/external-system-rt/src/com/intellij/openapi/externalSystem/model/project/dependencies/FileCollectionDependencyNodeImpl.java
platform/external-system-rt/src/com/intellij/openapi/externalSystem/model/project/dependencies/ProjectDependencyNodeImpl.java

index 6bc851a3ba0fe662004c749ebdb4f91e4796e0cc..cd6f38713dcb3a625305e7ffee7dfe9770cb0434 100644 (file)
@@ -18,7 +18,8 @@ public abstract class AbstractDependencyNode implements DependencyNode, Serializ
   private final List<DependencyNode> dependencies;
   private String resolutionState;
 
-  protected AbstractDependencyNode(long id) {this.id = id;
+  protected AbstractDependencyNode(long id) {
+    this.id = id;
     dependencies = new ArrayList<DependencyNode>(0);
   }
 
index a1b65f9537e90f4aa72c96927e90b4236ad24b5c..175ed809005120eba21cc34e246d030fe4ac0098 100644 (file)
@@ -12,7 +12,7 @@ public class ComponentDependenciesImpl implements ComponentDependencies, Seriali
   private final DependencyScopeNode compileDependencies;
   private final DependencyScopeNode runtimeDependencies;
 
-  @PropertyMapping({"componentName", "compileDependencies", "runtimeDependencies"})
+  @PropertyMapping({"componentName", "compileDependencies", "runtimeDependencies"}) //NON-NLS
   public ComponentDependenciesImpl(@NotNull String componentName,
                                    @NotNull DependencyScopeNode compileDependencies,
                                    @NotNull DependencyScopeNode runtimeDependencies) {
index a4c6bec90d80074da5bd5c7375f3aa9290ecf591..d3b452f8657f832dabbd6d79fa87980560541fc2 100644 (file)
@@ -10,7 +10,7 @@ public class DependencyScopeNode extends AbstractDependencyNode {
   private final String displayName;
   private final String description;
 
-  @PropertyMapping({"id", "scope", "displayName", "description"})
+  @PropertyMapping({"id", "scope", "displayName", "description"}) //NON-NLS
   public DependencyScopeNode(long id, @NotNull String scope, @NotNull String displayName, @Nullable String description) {
     super(id);
     this.displayName = displayName;
index 8f61fececd06509a4537a6e83726965d83863db0..7d69290798ab70ca319e25d54bbe2e78a5b5ffb6 100644 (file)
@@ -9,7 +9,7 @@ public class FileCollectionDependencyNodeImpl extends AbstractDependencyNode imp
   private final String displayName;
   private final String path;
 
-  @PropertyMapping({"id", "displayName", "path"})
+  @PropertyMapping({"id", "displayName", "path"}) //NON-NLS
   public FileCollectionDependencyNodeImpl(long id, @NotNull String displayName, @NotNull String path) {
     super(id);
     this.displayName = displayName;
index a71d25f2590f0a3142595444f81b56466ca11528..54b374594ced5165bf5e56ac9138f2f184c570e6 100644 (file)
@@ -2,13 +2,14 @@
 package com.intellij.openapi.externalSystem.model.project.dependencies;
 
 import com.intellij.serialization.PropertyMapping;
+import org.jetbrains.annotations.NonNls;
 import org.jetbrains.annotations.NotNull;
 
 public class ProjectDependencyNodeImpl extends AbstractDependencyNode implements ProjectDependencyNode {
 
   private final String projectName;
 
-  @PropertyMapping({"id", "projectName"})
+  @PropertyMapping({"id", "projectName"}) //NON-NLS
   public ProjectDependencyNodeImpl(long id, @NotNull String projectName) {
     super(id);
     this.projectName = projectName;
@@ -20,6 +21,7 @@ public class ProjectDependencyNodeImpl extends AbstractDependencyNode implements
     return projectName;
   }
 
+  @NonNls
   @NotNull
   @Override
   public String getDisplayName() {