do not export Mock library blindly — prefer direct dependency (since not required for most of clients)

This commit is contained in:
Vladimir Krivosheev
2018-03-16 18:44:08 +01:00
parent eb2f9aca41
commit 4cf56bff40
6 changed files with 8 additions and 23 deletions
+3 -3
View File
@@ -10,13 +10,13 @@
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module" module-name="intellij.platform.ide" exported="" />
<orderEntry type="module" module-name="intellij.platform.lvcs" exported="" />
<orderEntry type="library" exported="" name="NanoXML" level="project" />
<orderEntry type="library" name="NanoXML" level="project" />
<orderEntry type="module" module-name="intellij.platform.indexing" exported="" />
<orderEntry type="module" module-name="intellij.platform.projectModel" exported="" />
<orderEntry type="library" scope="TEST" name="JUnit4" level="project" />
<orderEntry type="library" scope="TEST" name="Mocks" level="project" />
<orderEntry type="module" module-name="intellij.platform.analysis" exported="" />
<orderEntry type="library" name="KotlinJavaRuntime" level="project" />
<orderEntry type="library" name="JDOM" level="project" />
<orderEntry type="library" scope="TEST" name="Mocks" level="project" />
<orderEntry type="library" scope="TEST" name="JUnit4" level="project" />
</component>
</module>
@@ -16,7 +16,7 @@
<orderEntry type="library" name="Velocity" level="project" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" exported="" />
<orderEntry type="module" module-name="intellij.platform.usageView" exported="" />
<orderEntry type="library" exported="" name="cli-parser" level="project" />
<orderEntry type="library" name="cli-parser" level="project" />
<orderEntry type="module" module-name="intellij.platform.indexing" />
<orderEntry type="module" module-name="intellij.platform.indexing.impl" exported="" />
<orderEntry type="library" name="Snappy-Java" level="project" />
@@ -15,7 +15,7 @@
<orderEntry type="library" name="Velocity" level="project" />
<orderEntry type="module" module-name="intellij.platform.ide.impl" exported="" />
<orderEntry type="module" module-name="intellij.platform.usageView" exported="" />
<orderEntry type="library" exported="" name="cli-parser" level="project" />
<orderEntry type="library" name="cli-parser" level="project" />
<orderEntry type="module" module-name="intellij.platform.indexing" />
<orderEntry type="module" module-name="intellij.platform.indexing.impl" exported="" />
<orderEntry type="library" name="Snappy-Java" level="project" />
@@ -10,7 +10,7 @@
<orderEntry type="library" scope="TEST" name="KotlinJavaRuntime" level="project" />
<orderEntry type="module" module-name="intellij.platform.util" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.testFramework" scope="TEST" />
<orderEntry type="library" exported="" scope="TEST" name="JDOM" level="project" />
<orderEntry type="library" scope="TEST" name="JDOM" level="project" />
<orderEntry type="library" exported="" scope="TEST" name="assertJ" level="project" />
<orderEntry type="library" scope="TEST" name="memoryfilesystem" level="project" />
<orderEntry type="library" scope="TEST" name="snakeyaml" level="project" />
@@ -16,7 +16,6 @@
<orderEntry type="module" module-name="intellij.platform.lvcs.impl" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.tools.testsBootstrap" />
<orderEntry type="module" module-name="intellij.java.resources.en" scope="RUNTIME" />
<orderEntry type="library" exported="" scope="TEST" name="Mocks" level="project" />
<orderEntry type="module" module-name="intellij.java.rt" exported="" />
<orderEntry type="library" exported="" name="Groovy" level="project" />
<orderEntry type="module" module-name="intellij.platform.resources" exported="" scope="RUNTIME" />
@@ -1,18 +1,4 @@
/*
* Copyright 2000-2009 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-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.xml.index;
@@ -84,7 +70,7 @@ public class XsdNamespaceBuilder extends NanoXmlUtil.IXMLBuilderAdapter implemen
}
@Override
public void endElement(String name, String nsPrefix, String nsURI) throws Exception {
public void endElement(String name, String nsPrefix, String nsURI) {
myCurrentDepth--;
myCurrentTag = null;
}