mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-05 08:06:56 +07:00
cleanup (final)
GitOrigin-RevId: 446f1aef2550b74b13c788fceaa36967a6f0b9c9
This commit is contained in:
committed by
intellij-monorepo-bot
parent
52ec0de0eb
commit
3d280e4fb2
@@ -1,18 +1,4 @@
|
||||
/*
|
||||
* Copyright 2000-2009 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
// 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.
|
||||
package com.intellij.rt.compiler;
|
||||
|
||||
import java.text.MessageFormat;
|
||||
@@ -23,7 +9,7 @@ import java.util.ResourceBundle;
|
||||
* MUST BE COMPILED WITH JDK 1.1 IN ORDER TO SUPPORT JAVAC LAUNCHING FOR ALL JDKs
|
||||
* @author Eugene Zhuravlev
|
||||
*/
|
||||
public class JavacResourcesReader {
|
||||
public final class JavacResourcesReader {
|
||||
public static final String MSG_PATTERNS_START = "__patterns_start";
|
||||
public static final String MSG_PATTERNS_END = "__patterns_end";
|
||||
public static final String MSG_PARSING_STARTED = "MSG_PARSING_STARTED";
|
||||
@@ -91,7 +77,7 @@ public class JavacResourcesReader {
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
public static boolean dumpPatterns() {
|
||||
final ResourceBundle messagesBundle = getMessagesBundle();
|
||||
if (messagesBundle == null) {
|
||||
|
||||
@@ -9,7 +9,7 @@ import java.io.ByteArrayOutputStream;
|
||||
import java.io.DataOutputStream;
|
||||
import java.io.IOException;
|
||||
|
||||
public class BatchEvaluatorServer {
|
||||
public final class BatchEvaluatorServer {
|
||||
/**
|
||||
* Serialize result in one String to avoid multiple getValue commands from the resulting array
|
||||
*/
|
||||
|
||||
@@ -4,7 +4,7 @@ package com.intellij.rt.debugger;
|
||||
import java.lang.reflect.InvocationTargetException;
|
||||
import java.lang.reflect.Method;
|
||||
|
||||
public class DefaultMethodInvoker {
|
||||
public final class DefaultMethodInvoker {
|
||||
|
||||
// only methods without arguments for now
|
||||
public static Object invoke(Object obj, String name)
|
||||
|
||||
@@ -8,7 +8,7 @@ import java.awt.image.BufferedImage;
|
||||
import java.io.ByteArrayOutputStream;
|
||||
import java.io.IOException;
|
||||
|
||||
public class ImageSerializer {
|
||||
public final class ImageSerializer {
|
||||
public static String imageToBytes(Image image) throws IOException {
|
||||
//noinspection UndesirableClassUsage
|
||||
BufferedImage bi = new BufferedImage(image.getWidth(null), image.getHeight(null), BufferedImage.TYPE_INT_ARGB);
|
||||
|
||||
@@ -18,7 +18,7 @@ import java.util.jar.Manifest;
|
||||
* @author anna
|
||||
* @noinspection SSBasedInspection, UseOfSystemOutOrSystemErr
|
||||
*/
|
||||
public class CommandLineWrapper {
|
||||
public final class CommandLineWrapper {
|
||||
private static final class AppData {
|
||||
private final List<String> properties;
|
||||
private final Class<?> mainClass;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// 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.
|
||||
package com.intellij.rt.execution;
|
||||
|
||||
public class TestListenerProtocol {
|
||||
public final class TestListenerProtocol {
|
||||
public static final String CLASS_CONFIGURATION = "Class Configuration";
|
||||
}
|
||||
|
||||
@@ -1,18 +1,4 @@
|
||||
/*
|
||||
* Copyright 2000-2017 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
// 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.
|
||||
package com.intellij.rt.execution.application;
|
||||
|
||||
import java.io.BufferedReader;
|
||||
@@ -29,7 +15,7 @@ import java.util.Locale;
|
||||
* @author ven
|
||||
* @noinspection UseOfSystemOutOrSystemErr
|
||||
*/
|
||||
public class AppMainV2 {
|
||||
public final class AppMainV2 {
|
||||
public static final String LAUNCHER_PORT_NUMBER = "idea.launcher.port";
|
||||
public static final String LAUNCHER_BIN_PATH = "idea.launcher.bin.path";
|
||||
|
||||
@@ -145,7 +131,7 @@ public class AppMainV2 {
|
||||
}
|
||||
}
|
||||
|
||||
public static class Agent {
|
||||
public static final class Agent {
|
||||
public static void premain(String args, Instrumentation i) {
|
||||
AppMainV2.premain(args);
|
||||
}
|
||||
|
||||
@@ -1,25 +1,11 @@
|
||||
/*
|
||||
* Copyright 2000-2015 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
// 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.
|
||||
package com.intellij.rt.execution.junit;
|
||||
|
||||
|
||||
import java.util.Iterator;
|
||||
import java.util.Map;
|
||||
|
||||
public class MapSerializerUtil {
|
||||
public final class MapSerializerUtil {
|
||||
public static final String TEST_FAILED = "testFailed";
|
||||
public static final String TEST_IGNORED = "testIgnored";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user