mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-05 01:50:56 +07:00
Fix hardcoded strings in PydevConsoleExecuteActionHandler.kt
IJ-CR-103200 GitOrigin-RevId: 7c3bf12fff01626b3ffea57ce713c834bb2b0804
This commit is contained in:
committed by
intellij-monorepo-bot
parent
89011abe15
commit
4ead1ae2c9
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user