mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
Warnings fixed
GitOrigin-RevId: 7743c9081d040b1206704e8af2ccd4a0654a4530
This commit is contained in:
committed by
intellij-monorepo-bot
parent
8a0c4b05cd
commit
c5ffc42959
@@ -1974,12 +1974,12 @@ public class Mappings {
|
||||
}
|
||||
|
||||
if (interfacesChanged) {
|
||||
for (final TypeRepr.AbstractType typ : diff.interfaces().removed()) {
|
||||
myDelta.registerRemovedSuperClass(changedClass.name, ((TypeRepr.ClassType)typ).className);
|
||||
for (final TypeRepr.ClassType typ : diff.interfaces().removed()) {
|
||||
myDelta.registerRemovedSuperClass(changedClass.name, typ.className);
|
||||
}
|
||||
|
||||
for (final TypeRepr.AbstractType typ : diff.interfaces().added()) {
|
||||
myDelta.registerAddedSuperClass(changedClass.name, ((TypeRepr.ClassType)typ).className);
|
||||
for (final TypeRepr.ClassType typ : diff.interfaces().added()) {
|
||||
myDelta.registerAddedSuperClass(changedClass.name, typ.className);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1143,9 +1143,9 @@ public final class UIUtil {
|
||||
}
|
||||
|
||||
/**
|
||||
* @param c1
|
||||
* @param c2
|
||||
* @param factor impact of color specified in @param c2
|
||||
* @param c1 first color to mix
|
||||
* @param c2 second color to mix
|
||||
* @param factor impact of color specified in {@code c2}
|
||||
* @return Mixed color
|
||||
*/
|
||||
public static @NotNull Color mix(@NotNull Color c1, final Color c2, final double factor) {
|
||||
|
||||
@@ -369,7 +369,7 @@ public class Maven40ServerEmbedderImpl extends MavenServerEmbeddedBase {
|
||||
}
|
||||
}
|
||||
|
||||
@SuppressWarnings({"unchecked"})
|
||||
@SuppressWarnings("unchecked")
|
||||
public <T> T getComponent(Class<T> clazz) {
|
||||
try {
|
||||
return (T)myContainer.lookup(clazz.getName());
|
||||
@@ -926,9 +926,9 @@ public class Maven40ServerEmbedderImpl extends MavenServerEmbeddedBase {
|
||||
ArtifactRepository repository = repositorySystem.buildArtifactRepository(repo);
|
||||
|
||||
if (session != null) {
|
||||
repositorySystem.injectMirror(session, Arrays.asList(repository));
|
||||
repositorySystem.injectProxy(session, Arrays.asList(repository));
|
||||
repositorySystem.injectAuthentication(session, Arrays.asList(repository));
|
||||
repositorySystem.injectMirror(session, Collections.singletonList(repository));
|
||||
repositorySystem.injectProxy(session, Collections.singletonList(repository));
|
||||
repositorySystem.injectAuthentication(session, Collections.singletonList(repository));
|
||||
}
|
||||
|
||||
return repository;
|
||||
@@ -1061,6 +1061,7 @@ public class Maven40ServerEmbedderImpl extends MavenServerEmbeddedBase {
|
||||
|
||||
|
||||
private void customizeComponents(@Nullable MavenWorkspaceMap workspaceMap) {
|
||||
//noinspection EmptyTryBlock
|
||||
try {
|
||||
// TODO: implement
|
||||
}
|
||||
@@ -1070,6 +1071,7 @@ public class Maven40ServerEmbedderImpl extends MavenServerEmbeddedBase {
|
||||
}
|
||||
|
||||
private void resetComponents() {
|
||||
//noinspection EmptyTryBlock
|
||||
try {
|
||||
// TODO: implement
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.xml.analysis;
|
||||
|
||||
import com.intellij.DynamicBundle;
|
||||
@@ -11,7 +11,7 @@ import java.util.function.Supplier;
|
||||
|
||||
public final class XmlAnalysisBundle {
|
||||
public static final @NonNls String BUNDLE = "messages.XmlAnalysisBundle";
|
||||
private static final DynamicBundle INSTANCE = new DynamicBundle(XmlAnalysisBundle.class, BUNDLE);;
|
||||
private static final DynamicBundle INSTANCE = new DynamicBundle(XmlAnalysisBundle.class, BUNDLE);
|
||||
|
||||
private XmlAnalysisBundle() {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user