mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-04 23:39:07 +07:00
cleanup: fix some embarrassing "expression is always true" warnings
GitOrigin-RevId: 7924e9541bb3e0fe2d328a7624401effba8d4b0a
This commit is contained in:
committed by
intellij-monorepo-bot
parent
94368a5895
commit
016f2aef5b
@@ -44,7 +44,7 @@ public class CompilerPaths {
|
||||
/**
|
||||
* @return a root directory where compiler caches for the given project are stored
|
||||
*/
|
||||
public static File getCacheStoreDirectory(final Project project) {
|
||||
public static @NotNull File getCacheStoreDirectory(final Project project) {
|
||||
return new File(getCompilerSystemDirectory(project), ".caches");
|
||||
}
|
||||
|
||||
|
||||
@@ -157,10 +157,7 @@ public final class ExcludedEntriesConfigurable implements UnnamedConfigurable, N
|
||||
}
|
||||
|
||||
private void addPath(FileChooserDescriptor descriptor) {
|
||||
int selected = -1 /*myExcludedTable.getSelectedRow() + 1*/;
|
||||
if(selected < 0) {
|
||||
selected = myExcludeEntryDescriptions.size();
|
||||
}
|
||||
int selected = myExcludeEntryDescriptions.size();
|
||||
int savedSelected = selected;
|
||||
VirtualFile[] chosen = FileChooser.chooseFiles(descriptor, myProject, null);
|
||||
for (final VirtualFile chosenFile : chosen) {
|
||||
|
||||
Reference in New Issue
Block a user