commit | 7dfec803d901e330746bbf46157f4e80405ac3c6 | [log] [tgz] |
---|---|---|
author | Alexander Kurtakov <akurtako@redhat.com> | Mon Nov 08 14:19:31 2021 +0200 |
committer | Alexander Kurtakov <akurtako@redhat.com> | Mon Nov 08 09:57:16 2021 -0500 |
tree | cb2d871c297ccf1c04904e75784acbf83794623e | |
parent | 8d2eddeb579cd5db82f962b41e7ff8277f82538f [diff] |
Name can't be null at that place Change-Id: Ibc909d683e8a933dff5a9d22c749a2ff2a54c911 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com> Reviewed-on: https://git.eclipse.org/r/c/linuxtools/org.eclipse.linuxtools/+/187505 Tested-by: Linux Tools Bot <linuxtools-bot@eclipse.org>
diff --git a/containers/org.eclipse.linuxtools.docker.ui/src/org/eclipse/linuxtools/internal/docker/ui/launch/LaunchConfigurationUtils.java b/containers/org.eclipse.linuxtools.docker.ui/src/org/eclipse/linuxtools/internal/docker/ui/launch/LaunchConfigurationUtils.java index d1157fa..a99d834 100644 --- a/containers/org.eclipse.linuxtools.docker.ui/src/org/eclipse/linuxtools/internal/docker/ui/launch/LaunchConfigurationUtils.java +++ b/containers/org.eclipse.linuxtools.docker.ui/src/org/eclipse/linuxtools/internal/docker/ui/launch/LaunchConfigurationUtils.java
@@ -593,9 +593,7 @@ if (repository != null) { configNameBuilder.append(repository).append('_'); // $NON-NLS-1$ } - if (name != null) { - configNameBuilder.append(name); - } + configNameBuilder.append(name); if (tag != null) { configNameBuilder.append(" [").append(tag).append("]"); //$NON-NLS-1$ //$NON-NLS-2$ } else {