mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Cleanup (typos; formatting)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2009 JetBrains s.r.o.
|
||||
* 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.
|
||||
@@ -44,7 +44,7 @@ public abstract class ModuleRootManager implements ModuleRootModel {
|
||||
|
||||
/**
|
||||
* Returns the interface for modifying the set of roots for this module. Must be called in a read action.
|
||||
* !!!!! ACHTUNG !!!!!: This model MUST be either committed {@link ModifiableRootModel#commit()} or disposed {@link ModifiableRootModel#dispose()}
|
||||
* !!!!! WARNING !!!!!: This model MUST be either committed {@link ModifiableRootModel#commit()} or disposed {@link ModifiableRootModel#dispose()}
|
||||
*
|
||||
* @return the modifiable root model.
|
||||
*/
|
||||
@@ -57,7 +57,8 @@ public abstract class ModuleRootManager implements ModuleRootModel {
|
||||
*
|
||||
* @return the list of module direct dependencies.
|
||||
*/
|
||||
@NotNull public abstract Module[] getDependencies();
|
||||
@NotNull
|
||||
public abstract Module[] getDependencies();
|
||||
|
||||
/**
|
||||
* Returns the list of modules on which the current module directly depends. The method does not traverse
|
||||
@@ -66,14 +67,14 @@ public abstract class ModuleRootManager implements ModuleRootModel {
|
||||
* @param includeTests whether test-only dependencies should be included
|
||||
* @return the list of module direct dependencies.
|
||||
*/
|
||||
@NotNull public abstract Module[] getDependencies(boolean includeTests);
|
||||
@NotNull
|
||||
public abstract Module[] getDependencies(boolean includeTests);
|
||||
|
||||
/**
|
||||
* Checks if the current module directly depends on the specified module.
|
||||
*
|
||||
* @param module the module to ckeck.
|
||||
* @param module the module to check.
|
||||
* @return true if <code>module</code> is contained in the list of dependencies for the current module, false otherwise.
|
||||
*/
|
||||
public abstract boolean isDependsOn(Module module);
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user