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 77074 Details for
Bug 201308
BinaryRepositoryProvider makes deprecated calls
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
A patch to fix the bug
BUG201308.patch (text/plain), 2.31 KB, created by
Fabio Mancinelli
on 2007-08-27 17:37:31 EDT
(
hide
)
Description:
A patch to fix the bug
Filename:
MIME Type:
Creator:
Fabio Mancinelli
Created:
2007-08-27 17:37:31 EDT
Size:
2.31 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.pde.core >Index: src/org/eclipse/pde/internal/core/BinaryRepositoryProvider.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/BinaryRepositoryProvider.java,v >retrieving revision 1.14 >diff -u -r1.14 BinaryRepositoryProvider.java >--- src/org/eclipse/pde/internal/core/BinaryRepositoryProvider.java 8 Jun 2007 16:06:51 -0000 1.14 >+++ src/org/eclipse/pde/internal/core/BinaryRepositoryProvider.java 27 Aug 2007 21:35:58 -0000 >@@ -17,6 +17,8 @@ > import org.eclipse.core.resources.IProject; > import org.eclipse.core.resources.IProjectDescription; > import org.eclipse.core.resources.IResource; >+import org.eclipse.core.resources.team.FileModificationValidationContext; >+import org.eclipse.core.resources.team.FileModificationValidator; > import org.eclipse.core.resources.team.IMoveDeleteHook; > import org.eclipse.core.resources.team.IResourceTree; > import org.eclipse.core.runtime.CoreException; >@@ -27,7 +29,7 @@ > > public class BinaryRepositoryProvider extends RepositoryProvider { > private IMoveDeleteHook moveDeleteHook; >- private IFileModificationValidator fileModificationValidator; >+ private FileModificationValidator fileModificationValidator; > > public static final String EXTERNAL_PROJECT_VALUE = "external"; //$NON-NLS-1$ > >@@ -119,11 +121,11 @@ > } > > class BinaryFileModificationValidator >- implements IFileModificationValidator { >+ extends FileModificationValidator { > /** > * @see org.eclipse.core.resources.IFileModificationValidator#validateEdit(org.eclipse.core.resources.IFile, java.lang.Object) > */ >- public IStatus validateEdit(IFile[] files, Object context) { >+ public IStatus validateEdit(IFile[] files, FileModificationValidationContext context) { > for (int i = 0; i < files.length; i++) { > if (isBinaryResource(files[i], false)) { > return createProblemStatus(); >@@ -170,6 +172,13 @@ > public IFileModificationValidator getFileModificationValidator() { > return fileModificationValidator; > } >+ >+ /** >+ * @see org.eclipse.team.core.RepositoryProvider#getFileModificationValidator2() >+ */ >+ public FileModificationValidator getFileModificationValidator2() { >+ return fileModificationValidator; >+ } > > /** > * @see org.eclipse.team.core.RepositoryProvider#getID()
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 201308
: 77074 |
77075
|
77076