diff options
author | Michael Valenta | 2003-12-03 18:55:34 +0000 |
---|---|---|
committer | Michael Valenta | 2003-12-03 18:55:34 +0000 |
commit | 31f600edced74c01356d09f90f5971a2d2a66856 (patch) | |
tree | 5d61e379f409109c23238d97d9a936c31970e5d3 | |
parent | 51d88c9621d6281dfbb0c335a3147fa0ca76e795 (diff) | |
download | eclipse.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.java | 1 |
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; } |