Fix hardcoded strings in PydevConsoleExecuteActionHandler.kt

IJ-CR-103200

GitOrigin-RevId: 7c3bf12fff01626b3ffea57ce713c834bb2b0804
This commit is contained in:
Egor Eliseev
2023-02-19 20:59:01 +02:00
committed by intellij-monorepo-bot
parent 89011abe15
commit 4ead1ae2c9

View File

@@ -1,8 +1,8 @@
// 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.jetbrains.python.console.pydev;
import com.intellij.openapi.util.NlsContexts;
import com.intellij.util.Function;
import org.jetbrains.annotations.NonNls;
import org.jetbrains.annotations.NotNull;
import java.util.List;
@@ -31,19 +31,19 @@ public interface ConsoleCommunication {
void notifyInputReceived();
class ConsoleCodeFragment {
private @NlsContexts.Label String myText;
private @NonNls String myText;
private final boolean myIsSingleLine;
public ConsoleCodeFragment(@NlsContexts.Label String text, boolean isSingleLine) {
public ConsoleCodeFragment(@NonNls String text, boolean isSingleLine) {
myText = text;
myIsSingleLine = isSingleLine;
}
public @NlsContexts.Label String getText() {
public @NonNls String getText() {
return myText;
}
public void setText(@NlsContexts.Label String text) {
public void setText(@NonNls String text) {
myText = text;
}