Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Fedorenko2011-08-01 04:45:57 -0400
committerIgor Fedorenko2011-08-01 04:45:57 -0400
commitaffaab0a485ef82e7b6a75c38addbfab41a64638 (patch)
treef3fbc19e952d8fa47eeab7084d8f4b0032d62a3e
parentbfff4a0509d7ec9bdb813ca40e7bfb16372548f5 (diff)
downloadm2e-core-affaab0a485ef82e7b6a75c38addbfab41a64638.tar.gz
m2e-core-affaab0a485ef82e7b6a75c38addbfab41a64638.tar.xz
m2e-core-affaab0a485ef82e7b6a75c38addbfab41a64638.zip
clarified IMavenProjectFacade.getMavenProject() javadoc
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
-rw-r--r--org.eclipse.m2e.core/src/org/eclipse/m2e/core/project/IMavenProjectFacade.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/org.eclipse.m2e.core/src/org/eclipse/m2e/core/project/IMavenProjectFacade.java b/org.eclipse.m2e.core/src/org/eclipse/m2e/core/project/IMavenProjectFacade.java
index 0d510e0f..9589f59d 100644
--- a/org.eclipse.m2e.core/src/org/eclipse/m2e/core/project/IMavenProjectFacade.java
+++ b/org.eclipse.m2e.core/src/org/eclipse/m2e/core/project/IMavenProjectFacade.java
@@ -82,8 +82,9 @@ public interface IMavenProjectFacade {
MavenProject getMavenProject(IProgressMonitor monitor) throws CoreException;
/**
- * Returns cached MavenProject instance associated with this facade or null,
- * if the cache has not been populated yet.
+ * Returns cached MavenProject instance associated with this facade or <code>null</code>, if the cache has not been
+ * populated yet, for example right after workspace restart. Clients must use
+ * {@link #getMavenProject(IProgressMonitor)} unless they are prepared to deal with <code>null</code> return value.
*/
MavenProject getMavenProject();

Back to the top