mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 11:53:49 +07:00
[vcs-log] add Nls/NlsSafe/NonNls annotations to vcs log api classes
GitOrigin-RevId: 1fe7854251917af63e6be8e5ac64765145c09647
This commit is contained in:
committed by
intellij-monorepo-bot
parent
22d6e99901
commit
cee12a385c
@@ -1,5 +1,6 @@
|
|||||||
package com.intellij.vcs.log;
|
package com.intellij.vcs.log;
|
||||||
|
|
||||||
|
import com.intellij.openapi.util.NlsSafe;
|
||||||
import org.jetbrains.annotations.NotNull;
|
import org.jetbrains.annotations.NotNull;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -18,6 +19,7 @@ public interface Hash {
|
|||||||
* Returns the String representation of this hash.
|
* Returns the String representation of this hash.
|
||||||
*/
|
*/
|
||||||
@NotNull
|
@NotNull
|
||||||
|
@NlsSafe
|
||||||
String asString();
|
String asString();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -29,5 +31,6 @@ public interface Hash {
|
|||||||
* <p>Usually (e.g. it is default for Git) the short hash is 7 symbols long.</p>
|
* <p>Usually (e.g. it is default for Git) the short hash is 7 symbols long.</p>
|
||||||
*/
|
*/
|
||||||
@NotNull
|
@NotNull
|
||||||
|
@NlsSafe
|
||||||
String toShortString();
|
String toShortString();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
package com.intellij.vcs.log;
|
package com.intellij.vcs.log;
|
||||||
|
|
||||||
|
import org.jetbrains.annotations.Nls;
|
||||||
import org.jetbrains.annotations.NotNull;
|
import org.jetbrains.annotations.NotNull;
|
||||||
|
|
||||||
import java.awt.*;
|
import java.awt.*;
|
||||||
@@ -22,6 +23,7 @@ public interface RefGroup {
|
|||||||
* Returns the name of the reference group. This reference will be displayed on the branches panel.
|
* Returns the name of the reference group. This reference will be displayed on the branches panel.
|
||||||
*/
|
*/
|
||||||
@NotNull
|
@NotNull
|
||||||
|
@Nls
|
||||||
String getName();
|
String getName();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
package com.intellij.vcs.log;
|
package com.intellij.vcs.log;
|
||||||
|
|
||||||
|
import com.intellij.openapi.util.NlsSafe;
|
||||||
import com.intellij.openapi.vfs.VirtualFile;
|
import com.intellij.openapi.vfs.VirtualFile;
|
||||||
import org.jetbrains.annotations.NotNull;
|
import org.jetbrains.annotations.NotNull;
|
||||||
|
|
||||||
@@ -19,5 +20,6 @@ import java.util.List;
|
|||||||
*/
|
*/
|
||||||
public interface VcsCommitMetadata extends VcsShortCommitDetails {
|
public interface VcsCommitMetadata extends VcsShortCommitDetails {
|
||||||
@NotNull
|
@NotNull
|
||||||
|
@NlsSafe
|
||||||
String getFullMessage();
|
String getFullMessage();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
// Copyright 2000-2018 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-2018 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.vcs.log;
|
package com.intellij.vcs.log;
|
||||||
|
|
||||||
|
import com.intellij.openapi.util.NlsSafe;
|
||||||
import com.intellij.openapi.util.text.StringUtil;
|
import com.intellij.openapi.util.text.StringUtil;
|
||||||
import org.jetbrains.annotations.NotNull;
|
import org.jetbrains.annotations.NotNull;
|
||||||
|
|
||||||
@@ -26,7 +27,7 @@ public interface VcsLogBranchFilter extends VcsLogBranchLikeFilter {
|
|||||||
* @return text presentation for the filter.
|
* @return text presentation for the filter.
|
||||||
*/
|
*/
|
||||||
@NotNull
|
@NotNull
|
||||||
Collection<String> getTextPresentation();
|
Collection<@NlsSafe String> getTextPresentation();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return true if filter has no patterns
|
* @return true if filter has no patterns
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
// Copyright 2000-2018 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-2018 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.vcs.log;
|
package com.intellij.vcs.log;
|
||||||
|
|
||||||
|
import org.jetbrains.annotations.Nls;
|
||||||
import org.jetbrains.annotations.NotNull;
|
import org.jetbrains.annotations.NotNull;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -11,5 +12,6 @@ public interface VcsLogFilter {
|
|||||||
VcsLogFilterCollection.FilterKey<?> getKey();
|
VcsLogFilterCollection.FilterKey<?> getKey();
|
||||||
|
|
||||||
@NotNull
|
@NotNull
|
||||||
|
@Nls
|
||||||
String getDisplayText();
|
String getDisplayText();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -15,6 +15,7 @@
|
|||||||
*/
|
*/
|
||||||
package com.intellij.vcs.log;
|
package com.intellij.vcs.log;
|
||||||
|
|
||||||
|
import com.intellij.openapi.util.NlsSafe;
|
||||||
import org.jetbrains.annotations.NotNull;
|
import org.jetbrains.annotations.NotNull;
|
||||||
|
|
||||||
import java.util.Collection;
|
import java.util.Collection;
|
||||||
@@ -24,7 +25,7 @@ import static com.intellij.vcs.log.VcsLogFilterCollection.HASH_FILTER;
|
|||||||
public interface VcsLogHashFilter extends VcsLogFilter {
|
public interface VcsLogHashFilter extends VcsLogFilter {
|
||||||
|
|
||||||
@NotNull
|
@NotNull
|
||||||
Collection<String> getHashes();
|
Collection<@NlsSafe String> getHashes();
|
||||||
|
|
||||||
@NotNull
|
@NotNull
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -15,11 +15,13 @@
|
|||||||
*/
|
*/
|
||||||
package com.intellij.vcs.log;
|
package com.intellij.vcs.log;
|
||||||
|
|
||||||
|
import org.jetbrains.annotations.NonNls;
|
||||||
import org.jetbrains.annotations.NotNull;
|
import org.jetbrains.annotations.NotNull;
|
||||||
|
|
||||||
public interface VcsLogUi {
|
public interface VcsLogUi {
|
||||||
|
|
||||||
@NotNull
|
@NotNull
|
||||||
|
@NonNls
|
||||||
String getId();
|
String getId();
|
||||||
|
|
||||||
@NotNull
|
@NotNull
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
package com.intellij.vcs.log;
|
package com.intellij.vcs.log;
|
||||||
|
|
||||||
|
import com.intellij.openapi.util.NlsSafe;
|
||||||
import com.intellij.openapi.util.text.StringUtil;
|
import com.intellij.openapi.util.text.StringUtil;
|
||||||
import com.intellij.openapi.vfs.VirtualFile;
|
import com.intellij.openapi.vfs.VirtualFile;
|
||||||
import org.jetbrains.annotations.NotNull;
|
import org.jetbrains.annotations.NotNull;
|
||||||
@@ -28,7 +29,7 @@ public interface VcsLogUserFilter extends VcsLogDetailsFilter {
|
|||||||
* Filter values in text format, such that the filter could be later restored from it.
|
* Filter values in text format, such that the filter could be later restored from it.
|
||||||
*/
|
*/
|
||||||
@NotNull
|
@NotNull
|
||||||
Collection<String> getValuesAsText();
|
Collection<@NlsSafe String> getValuesAsText();
|
||||||
|
|
||||||
@NotNull
|
@NotNull
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -15,6 +15,7 @@
|
|||||||
*/
|
*/
|
||||||
package com.intellij.vcs.log;
|
package com.intellij.vcs.log;
|
||||||
|
|
||||||
|
import com.intellij.openapi.util.NlsSafe;
|
||||||
import com.intellij.openapi.vfs.VirtualFile;
|
import com.intellij.openapi.vfs.VirtualFile;
|
||||||
import org.jetbrains.annotations.NotNull;
|
import org.jetbrains.annotations.NotNull;
|
||||||
|
|
||||||
@@ -35,6 +36,7 @@ public interface VcsRef {
|
|||||||
* Returns the display name of the reference.
|
* Returns the display name of the reference.
|
||||||
*/
|
*/
|
||||||
@NotNull
|
@NotNull
|
||||||
|
@NlsSafe
|
||||||
String getName();
|
String getName();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
package com.intellij.vcs.log;
|
package com.intellij.vcs.log;
|
||||||
|
|
||||||
|
import com.intellij.openapi.util.NlsSafe;
|
||||||
import com.intellij.openapi.vfs.VirtualFile;
|
import com.intellij.openapi.vfs.VirtualFile;
|
||||||
import org.jetbrains.annotations.NotNull;
|
import org.jetbrains.annotations.NotNull;
|
||||||
|
|
||||||
@@ -25,6 +26,7 @@ public interface VcsShortCommitDetails extends TimedVcsCommit {
|
|||||||
VirtualFile getRoot();
|
VirtualFile getRoot();
|
||||||
|
|
||||||
@NotNull
|
@NotNull
|
||||||
|
@NlsSafe
|
||||||
String getSubject();
|
String getSubject();
|
||||||
|
|
||||||
@NotNull
|
@NotNull
|
||||||
|
|||||||
Reference in New Issue
Block a user