Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 55032 Details for
Bug 165581
Improve Open Correspond Task action
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
Fixed an NPE
aaa.patch (text/plain), 1.69 KB, created by
Eugene Kuleshov
on 2006-12-05 04:57:04 EST
(
hide
)
Description:
Fixed an NPE
Filename:
MIME Type:
Creator:
Eugene Kuleshov
Created:
2006-12-05 04:57:04 EST
Size:
1.69 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.mylar.team >Index: src/org/eclipse/mylar/internal/team/LinkedTaskInfoAdapterFactory.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.mylar/org.eclipse.mylar.team/src/org/eclipse/mylar/internal/team/LinkedTaskInfoAdapterFactory.java,v >retrieving revision 1.3 >diff -u -r1.3 LinkedTaskInfoAdapterFactory.java >--- src/org/eclipse/mylar/internal/team/LinkedTaskInfoAdapterFactory.java 5 Dec 2006 01:57:50 -0000 1.3 >+++ src/org/eclipse/mylar/internal/team/LinkedTaskInfoAdapterFactory.java 5 Dec 2006 09:53:36 -0000 >@@ -170,15 +170,17 @@ > RemoteResource remoteResource = (RemoteResource) resourceVariant; > // TODO is there a better way then iterating trough all projects? > String path = remoteResource.getRepositoryRelativePath(); >- for (IProject project : ResourcesPlugin.getWorkspace().getRoot().getProjects()) { >- if (project.isAccessible()) { >- ICVSResource cvsResource = CVSWorkspaceRoot.getCVSFolderFor(project); >- try { >- if (cvsResource != null && path.startsWith(cvsResource.getRepositoryRelativePath())) { >- return project; >+ if (path != null) { >+ for (IProject project : ResourcesPlugin.getWorkspace().getRoot().getProjects()) { >+ if (project.isAccessible()) { >+ ICVSResource cvsResource = CVSWorkspaceRoot.getCVSFolderFor(project); >+ try { >+ if (cvsResource != null && path.startsWith(cvsResource.getRepositoryRelativePath())) { >+ return project; >+ } >+ } catch (CVSException ex) { >+ // ignore > } >- } catch (CVSException ex) { >- // ignore > } > } > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 165581
:
54525
|
54527
|
54587
|
54696
|
54697
|
54698
|
54925
| 55032 |
55033