Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2003-12-03 13:55:34 -0500
committerMichael Valenta2003-12-03 13:55:34 -0500
commit31f600edced74c01356d09f90f5971a2d2a66856 (patch)
tree5d61e379f409109c23238d97d9a936c31970e5d3
parent51d88c9621d6281dfbb0c335a3147fa0ca76e795 (diff)
downloadeclipse.platform.team-31f600edced74c01356d09f90f5971a2d2a66856.tar.gz
eclipse.platform.team-31f600edced74c01356d09f90f5971a2d2a66856.tar.xz
eclipse.platform.team-31f600edced74c01356d09f90f5971a2d2a66856.zip
Fixed possible NPE
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/repo/RepositoryRoot.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/repo/RepositoryRoot.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/repo/RepositoryRoot.java
index 746e8ea1a..72dccafbe 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/repo/RepositoryRoot.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/repo/RepositoryRoot.java
@@ -458,6 +458,7 @@ public class RepositoryRoot extends PlatformObject {
* RepositoriesView is pressed.
*/
void clearCache() {
+ if (modulesCache == null) return;
synchronized(modulesCache) {
modulesCache = null;
}

Back to the top