mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-13 09:19:13 +07:00
method renamed
This commit is contained in:
@@ -224,11 +224,11 @@ public class JavadocConfiguration implements ModuleRunProfile, JDOMExternalizabl
|
||||
|
||||
final PathsList classPath;
|
||||
if (jdk.getSdkType() instanceof JavaSdk) {
|
||||
classPath = OrderEnumerator.orderEntries(myProject).withoutSdk().withoutThisModuleContent().getPathsList();
|
||||
classPath = OrderEnumerator.orderEntries(myProject).withoutSdk().withoutModuleSourceEntries().getPathsList();
|
||||
}
|
||||
else {
|
||||
//libraries are included into jdk
|
||||
classPath = OrderEnumerator.orderEntries(myProject).withoutThisModuleContent().getPathsList();
|
||||
classPath = OrderEnumerator.orderEntries(myProject).withoutModuleSourceEntries().getPathsList();
|
||||
}
|
||||
final String classPathString = classPath.getPathsString();
|
||||
if (classPathString.length() > 0) {
|
||||
|
||||
@@ -55,13 +55,13 @@ public class ProjectRootsTraversingTest extends ModuleRootManagerTestCase {
|
||||
|
||||
private PathsList collectByOrderEnumerator(ProjectRootsTraversing.RootTraversePolicy policy) {
|
||||
if (policy == ProjectRootsTraversing.LIBRARIES_AND_JDK) {
|
||||
return OrderEnumerator.orderEntries(myModule).withoutDepModules().withoutThisModuleContent().getPathsList();
|
||||
return OrderEnumerator.orderEntries(myModule).withoutDepModules().withoutModuleSourceEntries().getPathsList();
|
||||
}
|
||||
if (policy == ProjectRootsTraversing.PROJECT_SOURCES) {
|
||||
return OrderEnumerator.orderEntries(myModule).withoutSdk().withoutLibraries().withoutDepModules().getSourcePathsList();
|
||||
}
|
||||
if (policy == ProjectRootsTraversing.PROJECT_LIBRARIES) {
|
||||
return OrderEnumerator.orderEntries(myModule).withoutSdk().withoutThisModuleContent().recursively().getPathsList();
|
||||
return OrderEnumerator.orderEntries(myModule).withoutSdk().withoutModuleSourceEntries().recursively().getPathsList();
|
||||
}
|
||||
throw new AssertionError(policy);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user