do not export StreamEx lib from platform-impl

GitOrigin-RevId: b4b5c70dc99510609083c3ff097936be94e0548c
This commit is contained in:
Vladimir Krivosheev
2020-02-15 06:44:09 +00:00
committed by intellij-monorepo-bot
parent d568ba9438
commit 16776be5f7
54 changed files with 90 additions and 103 deletions
@@ -31,6 +31,7 @@
<orderEntry type="library" name="netty-codec-http" level="project" />
<orderEntry type="module" module-name="intellij.platform.vcs.impl" />
<orderEntry type="module" module-name="intellij.platform.externalSystem" />
<orderEntry type="library" name="StreamEx" level="project" />
</component>
<component name="copyright">
<Base>
@@ -1,4 +1,4 @@
// 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-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.compiler.inspection;
import com.intellij.codeInspection.*;
@@ -27,7 +27,7 @@ import java.util.*;
import java.util.stream.Collectors;
import java.util.stream.Stream;
public class FrequentlyUsedInheritorInspection extends AbstractBaseJavaLocalInspectionTool {
public final class FrequentlyUsedInheritorInspection extends AbstractBaseJavaLocalInspectionTool {
private static final Logger LOG = Logger.getInstance(FrequentlyUsedInheritorInspection.class);
public static final byte MAX_RESULT = 3;
@@ -35,6 +35,7 @@
</library>
</orderEntry>
<orderEntry type="library" name="jb-jdi" level="project" />
<orderEntry type="library" name="StreamEx" level="project" />
</component>
<component name="copyright">
<Base>
+1
View File
@@ -23,5 +23,6 @@
<orderEntry type="library" name="jackson-databind" level="project" />
<orderEntry type="library" name="jackson-module-kotlin" level="project" />
<orderEntry type="library" name="xz" level="project" />
<orderEntry type="library" name="StreamEx" level="project" />
</component>
</module>
@@ -1,4 +1,4 @@
// Copyright 2000-2019 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-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.ide.util.importProject;
import com.intellij.ide.highlighter.JavaFileType;
@@ -31,7 +31,7 @@ import java.util.*;
import java.util.zip.ZipEntry;
import java.util.zip.ZipFile;
public class JavaModuleInsight extends ModuleInsight {
public final class JavaModuleInsight extends ModuleInsight {
private static final Logger LOG = Logger.getInstance(JavaModuleInsight.class);
private final Lexer myLexer;
+8 -7
View File
@@ -6,15 +6,15 @@
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/gen" isTestSource="false" generated="true" />
</content>
<content url="file://$MODULE_DIR$/../../plugins/InspectionGadgets">
<sourceFolder url="file://$MODULE_DIR$/../../plugins/InspectionGadgets/src" isTestSource="false" />
<content url="file://$IDEA_PROJECT_HOME$/community/plugins/InspectionGadgets">
<sourceFolder url="file://$IDEA_PROJECT_HOME$/community/plugins/InspectionGadgets/src" isTestSource="false" />
</content>
<content url="file://$MODULE_DIR$/../../plugins/IntentionPowerPak">
<sourceFolder url="file://$MODULE_DIR$/../../plugins/IntentionPowerPak/src" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/../../plugins/IntentionPowerPak/resources" type="java-resource" />
<content url="file://$IDEA_PROJECT_HOME$/community/plugins/IntentionPowerPak">
<sourceFolder url="file://$IDEA_PROJECT_HOME$/community/plugins/IntentionPowerPak/src" isTestSource="false" />
<sourceFolder url="file://$IDEA_PROJECT_HOME$/community/plugins/IntentionPowerPak/resources" type="java-resource" />
</content>
<content url="file://$MODULE_DIR$/../../plugins/generate-tostring">
<sourceFolder url="file://$MODULE_DIR$/../../plugins/generate-tostring/src" isTestSource="false" />
<content url="file://$IDEA_PROJECT_HOME$/community/plugins/generate-tostring">
<sourceFolder url="file://$IDEA_PROJECT_HOME$/community/plugins/generate-tostring/src" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
@@ -70,6 +70,7 @@
</library>
</orderEntry>
<orderEntry type="module" module-name="intellij.copyright" />
<orderEntry type="library" name="StreamEx" level="project" />
</component>
<component name="copyright">
<Base>
@@ -39,7 +39,7 @@ import java.util.Collections;
import java.util.List;
import java.util.concurrent.atomic.AtomicReference;
public class FindDfaProblemCauseFix implements LocalQuickFix, LowPriorityAction {
public final class FindDfaProblemCauseFix implements LocalQuickFix, LowPriorityAction {
private final boolean myUnknownMembersAsNullable;
private final boolean myIgnoreAssertStatements;
private final SmartPsiElementPointer<PsiExpression> myAnchor;
+7 -6
View File
@@ -6,14 +6,14 @@
<sourceFolder url="file://$MODULE_DIR$/testSrc" isTestSource="true" />
<excludeFolder url="file://$MODULE_DIR$/testSrc/com/intellij/java/codeInspection/bytecodeAnalysis/precompiledData" />
</content>
<content url="file://$MODULE_DIR$/../../plugins/InspectionGadgets/testsrc">
<sourceFolder url="file://$MODULE_DIR$/../../plugins/InspectionGadgets/testsrc" isTestSource="true" />
<content url="file://$IDEA_PROJECT_HOME$/community/plugins/InspectionGadgets/testsrc">
<sourceFolder url="file://$IDEA_PROJECT_HOME$/community/plugins/InspectionGadgets/testsrc" isTestSource="true" />
</content>
<content url="file://$MODULE_DIR$/../../plugins/IntentionPowerPak/testSrc">
<sourceFolder url="file://$MODULE_DIR$/../../plugins/IntentionPowerPak/testSrc" isTestSource="true" />
<content url="file://$IDEA_PROJECT_HOME$/community/plugins/IntentionPowerPak/testSrc">
<sourceFolder url="file://$IDEA_PROJECT_HOME$/community/plugins/IntentionPowerPak/testSrc" isTestSource="true" />
</content>
<content url="file://$MODULE_DIR$/../../plugins/generate-tostring/testSrc">
<sourceFolder url="file://$MODULE_DIR$/../../plugins/generate-tostring/testSrc" isTestSource="true" />
<content url="file://$IDEA_PROJECT_HOME$/community/plugins/generate-tostring/testSrc">
<sourceFolder url="file://$IDEA_PROJECT_HOME$/community/plugins/generate-tostring/testSrc" isTestSource="true" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
@@ -65,5 +65,6 @@
<orderEntry type="library" scope="TEST" name="jackson" level="project" />
<orderEntry type="library" scope="TEST" name="jackson-databind" level="project" />
<orderEntry type="library" scope="TEST" name="jackson-module-kotlin" level="project" />
<orderEntry type="library" name="StreamEx" level="project" />
</component>
</module>
@@ -26,6 +26,8 @@
<orderEntry type="module" module-name="intellij.platform.externalSystem.impl" scope="RUNTIME" />
<orderEntry type="library" name="kotlin-test" level="project" />
<orderEntry type="module" module-name="intellij.platform.jps.build" />
<orderEntry type="library" name="StreamEx" level="project" />
<orderEntry type="library" name="StreamEx" level="project" />
</component>
<component name="copyright">
<Base>
@@ -10,5 +10,6 @@
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module" module-name="intellij.jvm.analysis" exported="" />
<orderEntry type="module" module-name="intellij.java" />
<orderEntry type="library" name="StreamEx" level="project" />
</component>
</module>
@@ -1,4 +1,4 @@
// 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-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.codeInspection.blockingCallsDetection;
import com.intellij.codeInsight.AnnotationUtil;
@@ -10,8 +10,7 @@ import org.jetbrains.annotations.NotNull;
import java.util.List;
public class AnnotationBasedBlockingMethodChecker implements BlockingMethodChecker {
public final class AnnotationBasedBlockingMethodChecker implements BlockingMethodChecker {
private final List<String> myBlockingAnnotations;
public AnnotationBasedBlockingMethodChecker(List<String> blockingAnnotations) {
@@ -1,4 +1,4 @@
// 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-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.codeInspection.blockingCallsDetection;
import com.intellij.psi.PsiFile;
@@ -10,7 +10,7 @@ import org.jetbrains.annotations.NotNull;
import java.util.Set;
public class ThrowsTypeBlockingMethodChecker implements BlockingMethodChecker {
final class ThrowsTypeBlockingMethodChecker implements BlockingMethodChecker {
private static final Set<String> BLOCKING_EXCEPTION_TYPES = ContainerUtil.immutableSet(
"java.lang.InterruptedException",
"java.io.IOException");
@@ -22,5 +22,6 @@
<orderEntry type="library" scope="TEST" name="mockito" level="project" />
<orderEntry type="module" module-name="intellij.platform.vcs.testFramework" scope="TEST" />
<orderEntry type="library" name="miglayout-swing" level="project" />
<orderEntry type="library" name="StreamEx" level="project" />
</component>
</module>
@@ -1,4 +1,4 @@
// Copyright 2000-2019 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-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.dvcs.push.ui;
import com.intellij.dvcs.push.PushSettings;
@@ -55,8 +55,7 @@ import static com.intellij.openapi.actionSystem.IdeActions.ACTION_COLLAPSE_ALL;
import static com.intellij.openapi.actionSystem.IdeActions.ACTION_EXPAND_ALL;
import static com.intellij.util.containers.ContainerUtil.emptyList;
public class PushLog extends JPanel implements DataProvider {
public final class PushLog extends JPanel implements DataProvider {
private static final String CONTEXT_MENU = "Vcs.Push.ContextMenu";
private static final String START_EDITING = "startEditing";
private static final String TREE_SPLITTER_PROPORTION = "Vcs.Push.Splitter.Tree.Proportion";
@@ -15,5 +15,6 @@
<orderEntry type="library" name="miglayout-swing" level="project" />
<orderEntry type="library" name="Guava" level="project" />
<orderEntry type="module" module-name="intellij.platform.vcs" />
<orderEntry type="library" name="StreamEx" level="project" />
</component>
</module>
@@ -43,5 +43,6 @@
<orderEntry type="library" name="jackson-databind" level="project" />
<orderEntry type="library" name="jackson-module-kotlin" level="project" />
<orderEntry type="library" name="xz" level="project" />
<orderEntry type="library" name="StreamEx" level="project" />
</component>
</module>
@@ -34,5 +34,6 @@
<orderEntry type="library" name="jackson-databind" level="project" />
<orderEntry type="library" name="jackson-module-kotlin" level="project" />
<orderEntry type="library" name="xz" level="project" />
<orderEntry type="library" scope="TEST" name="StreamEx" level="project" />
</component>
</module>
@@ -42,7 +42,7 @@
<orderEntry type="library" name="imageio-tiff" level="project" />
<orderEntry type="library" name="pty4j" level="project" />
<orderEntry type="module" module-name="intellij.platform.credentialStore" scope="RUNTIME" />
<orderEntry type="library" exported="" name="StreamEx" level="project" />
<orderEntry type="library" name="StreamEx" level="project" />
<orderEntry type="library" name="jediterm-pty" level="project" />
<orderEntry type="module" module-name="intellij.platform.tasks.impl" scope="RUNTIME" />
<orderEntry type="library" exported="" name="kotlinx-coroutines-jdk8" level="project" />
@@ -42,5 +42,7 @@
<orderEntry type="library" scope="TEST" name="batik-transcoder" level="project" />
<orderEntry type="module" module-name="intellij.platform.diff.impl" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.serviceContainer" />
<orderEntry type="library" scope="TEST" name="StreamEx" level="project" />
<orderEntry type="library" scope="TEST" name="StreamEx" level="project" />
</component>
</module>
@@ -18,6 +18,7 @@
<orderEntry type="module" module-name="intellij.java.psi" />
<orderEntry type="module" module-name="intellij.platform.duplicates.analysis" />
<orderEntry type="module" module-name="intellij.platform.lang.impl" />
<orderEntry type="library" name="StreamEx" level="project" />
</component>
<component name="copyright">
<Base>
@@ -27,7 +27,7 @@ import java.util.stream.Collectors;
/**
* @author Eugene.Kudelevsky
*/
public class StructuralSearchUtil {
public final class StructuralSearchUtil {
private static final String REG_EXP_META_CHARS = ".$|()[]{}^?*+\\";
private static final Key<StructuralSearchProfile> STRUCTURAL_SEARCH_PROFILE_KEY = new Key<>("Structural Search Profile");
private static final Pattern ACCENTS = Pattern.compile("\\p{InCombiningDiacriticalMarks}+");
@@ -32,5 +32,6 @@
<orderEntry type="module" module-name="intellij.platform.serviceContainer" />
<orderEntry type="module" module-name="intellij.platform.workspaceModel.ide" />
<orderEntry type="module" module-name="intellij.platform.workspaceModel.core" />
<orderEntry type="library" name="StreamEx" level="project" />
</component>
</module>
@@ -24,5 +24,6 @@
<orderEntry type="module" module-name="intellij.platform.vcs.log" />
<orderEntry type="library" name="swingx" level="project" />
<orderEntry type="library" name="miglayout-swing" level="project" />
<orderEntry type="library" name="StreamEx" level="project" />
</component>
</module>
@@ -28,5 +28,6 @@
<orderEntry type="library" scope="TEST" name="assertJ" level="project" />
<orderEntry type="library" name="miglayout-swing" level="project" />
<orderEntry type="module" module-name="intellij.platform.diff.impl" />
<orderEntry type="library" name="StreamEx" level="project" />
</component>
</module>
@@ -1,18 +1,4 @@
/*
* Copyright 2000-2016 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.vcs.log.data;
import com.intellij.openapi.Disposable;
@@ -44,7 +30,7 @@ import java.util.Map;
/**
* Supports the int <-> Hash and int <-> VcsRef persistent mappings.
*/
public class VcsLogStorageImpl implements Disposable, VcsLogStorage {
public final class VcsLogStorageImpl implements Disposable, VcsLogStorage {
@NotNull private static final Logger LOG = Logger.getInstance(VcsLogStorage.class);
@NotNull private static final String HASHES_STORAGE = "hashes";
@NotNull private static final String REFS_STORAGE = "refs";
@@ -17,5 +17,6 @@
<orderEntry type="module" module-name="intellij.platform.debugger.testFramework" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.testFramework" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.testExtensions" scope="TEST" />
<orderEntry type="library" name="StreamEx" level="project" />
</component>
</module>
@@ -29,7 +29,8 @@ class BreakpointsStatisticsCollector : ProjectUsagesCollector() {
override fun getMetrics(project: Project): MutableSet<MetricEvent> {
val breakpointManager = XDebuggerManagerImpl.getInstance(project).breakpointManager as XBreakpointManagerImpl
val res = XBreakpointUtil.breakpointTypes()
val res = XBreakpointType.EXTENSION_POINT_NAME.extensionList
.asSequence()
.filter { it.isSuspendThreadSupported() }
.filter { breakpointManager.getBreakpointDefaults(it).getSuspendPolicy() != it.getDefaultSuspendPolicy() }
.map {
@@ -1,4 +1,4 @@
// 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-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.xdebugger.impl.breakpoints;
import com.intellij.codeInsight.folding.impl.FoldingUtil;
@@ -34,7 +34,7 @@ import java.util.List;
import static org.jetbrains.concurrency.Promises.rejectedPromise;
public class XBreakpointUtil {
public final class XBreakpointUtil {
private XBreakpointUtil() {
}
@@ -53,7 +53,7 @@ public class XBreakpointUtil {
return breakpointTypes().filter(breakpointType -> id.equals(breakpointType.getId())).findFirst().orElse(null);
}
public static StreamEx<XBreakpointType> breakpointTypes() {
public static @NotNull StreamEx<XBreakpointType> breakpointTypes() {
return StreamEx.of(XBreakpointType.EXTENSION_POINT_NAME.getExtensionList());
}
@@ -1,4 +1,4 @@
// 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-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.xdebugger.impl.frame;
import com.intellij.ide.dnd.DnDManager;
@@ -34,16 +34,12 @@ import com.intellij.xdebugger.impl.ui.tree.XDebuggerTreeRestorer;
import com.intellij.xdebugger.impl.ui.tree.XDebuggerTreeState;
import com.intellij.xdebugger.impl.ui.tree.nodes.XStackFrameNode;
import com.intellij.xdebugger.impl.ui.tree.nodes.XValueContainerNode;
import one.util.streamex.StreamEx;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import javax.swing.*;
import java.awt.*;
import java.util.Collection;
import java.util.Map;
import java.util.Objects;
import java.util.Set;
import java.util.*;
public abstract class XVariablesViewBase extends XDebugView {
private final XDebuggerTreePanel myTreePanel;
@@ -166,8 +162,8 @@ public abstract class XVariablesViewBase extends XDebugView {
}
private static class MySelectionListener implements SelectionListener {
private static final Collection<String> SIDE_EFFECT_PRODUCERS = StreamEx.of("exec(", "++", "--", "=").toList();
private static final Set<String> IGNORED_TEXTS = StreamEx.of("", ";", "()").toSet();
private static final Collection<String> SIDE_EFFECT_PRODUCERS = Arrays.asList("exec(", "++", "--", "=");
private static final Set<String> IGNORED_TEXTS = new HashSet<>(Arrays.asList("", ";", "()"));
private static final Alarm ALARM = new Alarm(Alarm.ThreadToUse.SWING_THREAD);
private static final int EVALUATION_DELAY_MILLIS = 100;
@@ -11,5 +11,6 @@
<orderEntry type="module" module-name="intellij.platform.debugger.impl" />
<orderEntry type="module" module-name="intellij.platform.debugger" />
<orderEntry type="module" module-name="intellij.platform.testExtensions" />
<orderEntry type="library" name="StreamEx" level="project" />
</component>
</module>
@@ -12,6 +12,7 @@
<orderEntry type="module" module-name="intellij.regexp" />
<orderEntry type="module" module-name="intellij.platform.ide" />
<orderEntry type="library" name="Jaxen" level="project" />
<orderEntry type="library" name="StreamEx" level="project" />
</component>
<component name="copyright">
<Base>
+1
View File
@@ -30,6 +30,7 @@
<orderEntry type="module" module-name="intellij.xml.dom.impl" />
<orderEntry type="module" module-name="intellij.properties.psi" />
<orderEntry type="library" name="NanoXML" level="project" />
<orderEntry type="library" name="StreamEx" level="project" />
</component>
<component name="copyright">
<Base>
@@ -1,18 +1,4 @@
/*
* Copyright 2000-2016 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.lang.ant.config.impl;
import com.intellij.lang.ant.AntSupport;
@@ -42,7 +28,6 @@ import org.jetbrains.annotations.Nullable;
import java.util.*;
public class AntBuildModelImpl implements AntBuildModelBase {
private final AntBuildFile myFile;
private final CachedValue<List<AntBuildTargetBase>> myTargets;
@@ -51,5 +51,6 @@
<orderEntry type="module" module-name="intellij.platform.serviceContainer" />
<orderEntry type="module" module-name="intellij.platform.ide" />
<orderEntry type="module" module-name="intellij.platform.jps.build" />
<orderEntry type="library" name="StreamEx" level="project" />
</component>
</module>
+1
View File
@@ -47,5 +47,6 @@
<orderEntry type="library" name="jackson" level="project" />
<orderEntry type="library" name="jackson-databind" level="project" />
<orderEntry type="library" name="xz" level="project" />
<orderEntry type="library" name="StreamEx" level="project" />
</component>
</module>
@@ -1,4 +1,4 @@
// Copyright 2000-2019 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-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 git4idea.repo;
import com.intellij.openapi.diagnostic.Logger;
@@ -34,8 +34,7 @@ package git4idea.repo;
*
* TODO: note, that other git configuration files (such as ~/.gitconfig) are not handled yet.
*/
public class GitConfig {
public final class GitConfig {
private static final Logger LOG = Logger.getInstance(GitConfig.class);
private static final Pattern REMOTE_SECTION = Pattern.compile("(?:svn-)?remote \"(.*)\"", Pattern.CASE_INSENSITIVE);
+1
View File
@@ -36,5 +36,6 @@
<orderEntry type="library" name="jackson-module-kotlin" level="project" />
<orderEntry type="module" module-name="intellij.platform.editor" />
<orderEntry type="module" module-name="intellij.platform.diff.impl" />
<orderEntry type="library" name="StreamEx" level="project" />
</component>
</module>
@@ -1,4 +1,4 @@
// Copyright 2000-2019 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-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 org.jetbrains.plugins.github.extensions;
import com.intellij.dvcs.hosting.RepositoryListLoader;
@@ -33,7 +33,7 @@ import java.util.*;
import java.util.stream.Collectors;
import java.util.stream.Stream;
public class GithubRepositoryHostingService extends GitRepositoryHostingService {
final class GithubRepositoryHostingService extends GitRepositoryHostingService {
@NotNull private final GithubAuthenticationManager myAuthenticationManager;
@NotNull private final GithubApiRequestExecutorManager myExecutorManager;
@NotNull private final GithubGitHelper myGitHelper;
@@ -24,5 +24,6 @@
<orderEntry type="module" module-name="intellij.platform.objectSerializer.annotations" />
<orderEntry type="module" module-name="intellij.gradle.toolingLoaderRt" />
<orderEntry type="library" name="ion" level="project" />
<orderEntry type="library" name="StreamEx" level="project" />
</component>
</module>
+1
View File
@@ -22,5 +22,6 @@
<orderEntry type="module" module-name="intellij.platform.lang.impl" />
<orderEntry type="module" module-name="intellij.platform.vcs.testFramework" scope="TEST" />
<orderEntry type="library" name="miglayout-swing" level="project" />
<orderEntry type="library" name="StreamEx" level="project" />
</component>
</module>
@@ -64,7 +64,6 @@ import java.util.regex.Pattern;
* HgUtil is a collection of static utility methods for Mercurial.
*/
public abstract class HgUtil {
public static final Pattern URL_WITH_PASSWORD = Pattern.compile("(?:.+)://(?:.+)(:.+)@(?:.+)"); //http(s)://username:password@url
public static final int MANY_FILES = 100;
private static final Logger LOG = Logger.getInstance(HgUtil.class);
+1
View File
@@ -29,5 +29,6 @@
<orderEntry type="module" module-name="intellij.java.typeMigration" />
<orderEntry type="library" name="NanoXML" level="project" />
<orderEntry type="module" module-name="intellij.java.tests" scope="TEST" />
<orderEntry type="library" name="StreamEx" level="project" />
</component>
</module>
@@ -1,4 +1,4 @@
// 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-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 org.jetbrains.plugins.javaFX.resources;
import com.intellij.codeInspection.LocalInspectionToolSession;
@@ -6,7 +6,10 @@ import com.intellij.codeInspection.ProblemsHolder;
import com.intellij.codeInspection.XmlSuppressableInspectionTool;
import com.intellij.lang.properties.psi.Property;
import com.intellij.lang.properties.references.PropertyReference;
import com.intellij.psi.*;
import com.intellij.psi.PsiElementVisitor;
import com.intellij.psi.PsiReference;
import com.intellij.psi.ResolveResult;
import com.intellij.psi.XmlElementVisitor;
import com.intellij.psi.xml.XmlAttributeValue;
import one.util.streamex.StreamEx;
import org.jetbrains.annotations.NotNull;
@@ -18,7 +21,7 @@ import java.util.Set;
/**
* @author Pavel.Dolgov
*/
public class JavaFxResourcePropertyValueInspection extends XmlSuppressableInspectionTool {
public final class JavaFxResourcePropertyValueInspection extends XmlSuppressableInspectionTool {
@NotNull
@Override
public PsiElementVisitor buildVisitor(@NotNull ProblemsHolder holder, boolean isOnTheFly, @NotNull LocalInspectionToolSession session) {
@@ -62,5 +62,6 @@
</SOURCES>
</library>
</orderEntry>
<orderEntry type="library" scope="TEST" name="StreamEx" level="project" />
</component>
</module>
+1
View File
@@ -82,6 +82,7 @@
<orderEntry type="module" module-name="intellij.platform.workspaceModel.core" />
<orderEntry type="module" module-name="intellij.platform.workspaceModel.ide" />
<orderEntry type="module" module-name="intellij.repository.search" />
<orderEntry type="library" name="StreamEx" level="project" />
</component>
<component name="copyright">
<Base>
@@ -1,4 +1,4 @@
// Copyright 2000-2019 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-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 org.jetbrains.idea.maven.execution;
import com.intellij.execution.JUnitPatcher;
@@ -36,10 +36,7 @@ import java.util.function.UnaryOperator;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
* @author Sergey Evdokimov
*/
public class MavenJUnitPatcher extends JUnitPatcher {
public final class MavenJUnitPatcher extends JUnitPatcher {
public static final Pattern PROPERTY_PATTERN = Pattern.compile("\\$\\{(.+?)}");
public static final Pattern ARG_LINE_PATTERN = Pattern.compile("@\\{(.+?)}");
private static final Logger LOG = Logger.getInstance(MavenJUnitPatcher.class);
+1
View File
@@ -35,5 +35,6 @@
<orderEntry type="library" name="jaxb-api" level="project" />
<orderEntry type="library" name="javax.activation" level="project" />
<orderEntry type="library" scope="RUNTIME" name="jaxb-runtime" level="project" />
<orderEntry type="library" name="StreamEx" level="project" />
</component>
</module>
@@ -19,5 +19,6 @@
<orderEntry type="module" module-name="intellij.platform.vcs.testFramework" scope="TEST" />
<orderEntry type="library" scope="TEST" name="hamcrest" level="project" />
<orderEntry type="library" scope="TEST" name="kotlin-test" level="project" />
<orderEntry type="library" scope="TEST" name="StreamEx" level="project" />
</component>
</module>
@@ -30,5 +30,6 @@
<orderEntry type="library" scope="TEST" name="Objenesis" level="project" />
<orderEntry type="library" scope="TEST" name="http-client" level="project" />
<orderEntry type="library" scope="TEST" name="assertJ" level="project" />
<orderEntry type="library" scope="TEST" name="StreamEx" level="project" />
</component>
</module>
+1
View File
@@ -18,5 +18,6 @@
<orderEntry type="module" module-name="intellij.xml" />
<orderEntry type="module" module-name="intellij.json" />
<orderEntry type="module" module-name="intellij.json.tests" scope="TEST" />
<orderEntry type="library" name="StreamEx" level="project" />
</component>
</module>
@@ -16,5 +16,6 @@
<orderEntry type="module" module-name="intellij.platform.diff" />
<orderEntry type="module" module-name="intellij.xml.dom.impl" scope="RUNTIME" />
<orderEntry type="library" name="Guava" level="project" />
<orderEntry type="library" name="StreamEx" level="project" />
</component>
</module>
@@ -1,18 +1,4 @@
/*
* Copyright 2000-2016 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.jetbrains.python.newProject.steps;
import com.intellij.ide.util.projectWizard.AbstractNewProjectStep;
@@ -28,7 +14,7 @@ import org.jetbrains.annotations.NotNull;
import java.util.Arrays;
import java.util.Comparator;
public class PyCharmNewProjectStep extends AbstractNewProjectStep<PyNewProjectSettings> {
public final class PyCharmNewProjectStep extends AbstractNewProjectStep<PyNewProjectSettings> {
public PyCharmNewProjectStep() {
super(new Customization());
}
@@ -49,5 +49,6 @@
</SOURCES>
</library>
</orderEntry>
<orderEntry type="library" name="StreamEx" level="project" />
</component>
</module>
@@ -37,5 +37,6 @@
<orderEntry type="module" module-name="intellij.python.langInjection" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.python.reStructuredText" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.statsCollector" scope="TEST" />
<orderEntry type="library" scope="TEST" name="StreamEx" level="project" />
</component>
</module>
</module>