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 155984 Details for
Bug 285000
[preferences] Add UI option for unused object allocation problem
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.
[patch]
Proposed fix
patch_285000.txt (text/plain), 4.87 KB, created by
Olivier Thomann
on 2010-01-13 10:20:00 EST
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2010-01-13 10:20:00 EST
Size:
4.87 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.ui >Index: ui/org/eclipse/jdt/internal/ui/preferences/PreferencesMessages.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/PreferencesMessages.java,v >retrieving revision 1.123 >diff -u -r1.123 PreferencesMessages.java >--- ui/org/eclipse/jdt/internal/ui/preferences/PreferencesMessages.java 17 Nov 2009 07:50:05 -0000 1.123 >+++ ui/org/eclipse/jdt/internal/ui/preferences/PreferencesMessages.java 13 Jan 2010 15:14:50 -0000 >@@ -417,6 +417,7 @@ > public static String ProblemSeveritiesConfigurationBlock_pb_annotation_super_interface_label; > public static String ProblemSeveritiesConfigurationBlock_pb_type_parameter_hiding_label; > public static String ProblemSeveritiesConfigurationBlock_pb_unused_label_label; >+ public static String ProblemSeveritiesConfigurationBlock_pb_unused_object_allocation_label; > public static String JavadocProblemsPreferencePage_title; > public static String JavadocProblemsConfigurationBlock_allStandardTags; > public static String JavadocProblemsConfigurationBlock_public; >Index: ui/org/eclipse/jdt/internal/ui/preferences/PreferencesMessages.properties >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/PreferencesMessages.properties,v >retrieving revision 1.497 >diff -u -r1.497 PreferencesMessages.properties >--- ui/org/eclipse/jdt/internal/ui/preferences/PreferencesMessages.properties 7 Dec 2009 11:10:50 -0000 1.497 >+++ ui/org/eclipse/jdt/internal/ui/preferences/PreferencesMessages.properties 13 Jan 2010 15:14:50 -0000 >@@ -453,6 +453,7 @@ > ProblemSeveritiesConfigurationBlock_ignore_documented_unused_parameters=Ignore parameters documented with '@param' tag > ProblemSeveritiesConfigurationBlock_pb_type_parameter_hiding_label=Type parameter hides another type: > ProblemSeveritiesConfigurationBlock_pb_unused_label_label=Unused 'break' or 'continue' label: >+ProblemSeveritiesConfigurationBlock_pb_unused_object_allocation_label=Unused object allocation: > ProblemSeveritiesConfigurationBlock_unused_suppresswarnings_token=Unused '@SuppressWarnings' token: > JavadocProblemsPreferencePage_title=Javadoc Comments > >Index: ui/org/eclipse/jdt/internal/ui/preferences/ProblemSeveritiesConfigurationBlock.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/ProblemSeveritiesConfigurationBlock.java,v >retrieving revision 1.56 >diff -u -r1.56 ProblemSeveritiesConfigurationBlock.java >--- ui/org/eclipse/jdt/internal/ui/preferences/ProblemSeveritiesConfigurationBlock.java 23 Sep 2009 08:54:18 -0000 1.56 >+++ ui/org/eclipse/jdt/internal/ui/preferences/ProblemSeveritiesConfigurationBlock.java 13 Jan 2010 15:14:50 -0000 >@@ -82,6 +82,7 @@ > private static final Key PREF_PB_FALLTHROUGH_CASE= getJDTCoreKey(JavaCore.COMPILER_PB_FALLTHROUGH_CASE); > private static final Key PREF_PB_COMPARING_IDENTICAL= getJDTCoreKey(JavaCore.COMPILER_PB_COMPARING_IDENTICAL); > private static final Key PREF_PB_MISSING_SYNCHRONIZED_ON_INHERITED_METHOD= getJDTCoreKey(JavaCore.COMPILER_PB_MISSING_SYNCHRONIZED_ON_INHERITED_METHOD); >+ private static final Key PREF_PB_UNUSED_OBJECT_ALLOCATION= getJDTCoreKey(JavaCore.COMPILER_PB_UNUSED_OBJECT_ALLOCATION); > > private static final Key PREF_PB_NULL_REFERENCE= getJDTCoreKey(JavaCore.COMPILER_PB_NULL_REFERENCE); > private static final Key PREF_PB_POTENTIAL_NULL_REFERENCE= getJDTCoreKey(JavaCore.COMPILER_PB_POTENTIAL_NULL_REFERENCE); >@@ -136,7 +137,7 @@ > PREF_PB_METHOD_WITH_CONSTRUCTOR_NAME, PREF_PB_DEPRECATION, PREF_PB_HIDDEN_CATCH_BLOCK, PREF_PB_UNUSED_LOCAL, > PREF_PB_UNUSED_PARAMETER, PREF_PB_UNUSED_PARAMETER_INCLUDE_DOC_COMMENT_REFERENCE, > PREF_PB_SYNTHETIC_ACCESS_EMULATION, PREF_PB_NON_EXTERNALIZED_STRINGS, >- PREF_PB_UNUSED_IMPORT, PREF_PB_UNUSED_LABEL, >+ PREF_PB_UNUSED_IMPORT, PREF_PB_UNUSED_LABEL, PREF_PB_UNUSED_OBJECT_ALLOCATION, > PREF_PB_STATIC_ACCESS_RECEIVER, PREF_PB_DEPRECATION_IN_DEPRECATED_CODE, > PREF_PB_NO_EFFECT_ASSIGNMENT, PREF_PB_INCOMPATIBLE_INTERFACE_METHOD, > PREF_PB_UNUSED_PRIVATE, PREF_PB_CHAR_ARRAY_IN_CONCAT, PREF_PB_UNNECESSARY_ELSE, >@@ -424,6 +425,9 @@ > label= PreferencesMessages.ProblemSeveritiesConfigurationBlock_pb_redundant_super_interface_label; > addComboBox(inner, label, PREF_PB_REDUNDANT_SUPERINTERFACE, errorWarningIgnore, errorWarningIgnoreLabels, defaultIndent); > >+ label= PreferencesMessages.ProblemSeveritiesConfigurationBlock_pb_unused_object_allocation_label; >+ addComboBox(inner, label, PREF_PB_UNUSED_OBJECT_ALLOCATION, errorWarningIgnore, errorWarningIgnoreLabels, defaultIndent); >+ > // --- generics > > label= PreferencesMessages.ProblemSeveritiesConfigurationBlock_section_generics;
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 285000
:
155984
|
156003
|
156037