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 33308 Details for
Bug 123522
@SuppressWarnings("unused") does not suppress "unused import" warning
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Patch for comment 10 scenario
123522b.txt (text/plain), 1.07 KB, created by
Philipe Mulet
on 2006-01-19 17:11:22 EST
(
hide
)
Description:
Patch for comment 10 scenario
Filename:
MIME Type:
Creator:
Philipe Mulet
Created:
2006-01-19 17:11:22 EST
Size:
1.07 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core >Index: compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java,v >retrieving revision 1.254 >diff -u -r1.254 Scope.java >--- compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java 10 Jan 2006 21:01:07 -0000 1.254 >+++ compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java 19 Jan 2006 22:12:12 -0000 >@@ -2786,6 +2786,14 @@ > if (context != null && context.isViewedAsDeprecated()) > return true; > break; >+ case Scope.COMPILATION_UNIT_SCOPE : >+ // consider import as being deprecated if first type is itself deprecated (123522) >+ CompilationUnitDeclaration unit = referenceCompilationUnit(); >+ if (unit.types != null && unit.types.length > 0) { >+ SourceTypeBinding type = unit.types[0].binding; >+ if (type != null && type.isViewedAsDeprecated()) >+ return true; >+ } > } > return false; > }
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 123522
:
33266
| 33308