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 161950 Details for
Bug 305755
Remove deprecated API that has been added for 3.6
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Proposed fix
patch_305755.txt (text/plain), 2.84 KB, created by
Olivier Thomann
on 2010-03-12 19:16:17 EST
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2010-03-12 19:16:17 EST
Size:
2.84 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core >Index: search/org/eclipse/jdt/core/search/SearchEngine.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/search/org/eclipse/jdt/core/search/SearchEngine.java,v >retrieving revision 1.149 >diff -u -r1.149 SearchEngine.java >--- search/org/eclipse/jdt/core/search/SearchEngine.java 13 Jan 2010 17:38:20 -0000 1.149 >+++ search/org/eclipse/jdt/core/search/SearchEngine.java 13 Mar 2010 00:15:57 -0000 >@@ -190,37 +190,6 @@ > > /** > * Returns a Java search scope limited to the hierarchy of the given type and to a given project. >- * The Java elements resulting from a search with this scope will be types in this hierarchy, >- * or members or enclosing types of the types in this hierarchy. >- * <p> >- * By default, hierarchy scopes include all direct and indirect supertypes and subtypes of the >- * focus type. This method, however, allows to restrict the hierarchy to true subtypes, >- * neither including supertypes nor the focus type itself. >- * </p> >- * <p> >- * By default, hierarchy scopes include also member types and enclosing types of those types >- * that actually span the hierarchy. This method, however, allows to inhibit this behavior, >- * by passing <code>true</code> to the parameter <code>noMemberTypes</code>. >- * </p> >- * >- * @param project the project to which to constrain the search, or <code>null</code> if >- * search should consider all types in the workspace >- * @param type the focus of the hierarchy scope >- * @param onlySubtypes if true only subtypes of <code>type</code> are considered >- * @param noMemberTypes if true do not consider member or enclosing types of types in the given type hiearchy >- * @param owner the owner of working copies that take precedence over original compilation units, >- * or <code>null</code> if the primary working copy owner should be used >- * @return a new hierarchy scope >- * @exception JavaModelException if the hierarchy could not be computed on the given type >- * @deprecated Will be removed shortly before 3.6M5. Use {@link #createStrictHierarchyScope(IJavaProject, IType, boolean, boolean, WorkingCopyOwner)} instead. >- * @since 3.6 >- */ >- public static IJavaSearchScope createHierarchyScope(IJavaProject project, IType type, boolean onlySubtypes, boolean noMemberTypes, WorkingCopyOwner owner) throws JavaModelException { >- return BasicSearchEngine.createHierarchyScope(project, type, onlySubtypes, noMemberTypes, owner); >- } >- >- /** >- * Returns a Java search scope limited to the hierarchy of the given type and to a given project. > * The Java elements resulting from a search with this scope will be types in this hierarchy. > * <p> > * Unlike the <code>createHierarchyScope</code> methods, this method creates <em>strict</em>
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 305755
:
161950
|
161994