Mercurial > hg > graal-jvmci-8
comparison mx/org.eclipse.jdt.core.prefs @ 4141:04d21be7a24f
Enforce stronger compiler warning rules. No longer allow:
- Redundant generic parameters
- Unsafe var args
- Assignments to parameters
- Overlapping names between parameters and fields
- Unused code (parameters, fields, statements)
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Sun, 18 Dec 2011 05:23:52 +0100 |
parents | 3e2e8b8abdaf |
children |
comparison
equal
deleted
inserted
replaced
4140:716a2c5c0656 | 4141:04d21be7a24f |
---|---|
1 #Sun Dec 18 01:19:17 CET 2011 | |
1 eclipse.preferences.version=1 | 2 eclipse.preferences.version=1 |
2 org.eclipse.jdt.core.builder.cleanOutputFolder=clean | 3 org.eclipse.jdt.core.builder.cleanOutputFolder=clean |
3 org.eclipse.jdt.core.builder.duplicateResourceTask=warning | 4 org.eclipse.jdt.core.builder.duplicateResourceTask=warning |
4 org.eclipse.jdt.core.builder.invalidClasspath=abort | 5 org.eclipse.jdt.core.builder.invalidClasspath=abort |
6 org.eclipse.jdt.core.builder.recreateModifiedClassFileInOutputFolder=ignore | |
5 org.eclipse.jdt.core.builder.resourceCopyExclusionFilter=*.launch | 7 org.eclipse.jdt.core.builder.resourceCopyExclusionFilter=*.launch |
6 org.eclipse.jdt.core.circularClasspath=error | 8 org.eclipse.jdt.core.circularClasspath=error |
7 org.eclipse.jdt.core.classpath.exclusionPatterns=enabled | 9 org.eclipse.jdt.core.classpath.exclusionPatterns=enabled |
8 org.eclipse.jdt.core.classpath.multipleOutputLocations=enabled | 10 org.eclipse.jdt.core.classpath.multipleOutputLocations=enabled |
9 org.eclipse.jdt.core.codeComplete.argumentPrefixes= | 11 org.eclipse.jdt.core.codeComplete.argumentPrefixes= |
12 org.eclipse.jdt.core.codeComplete.fieldSuffixes= | 14 org.eclipse.jdt.core.codeComplete.fieldSuffixes= |
13 org.eclipse.jdt.core.codeComplete.localPrefixes= | 15 org.eclipse.jdt.core.codeComplete.localPrefixes= |
14 org.eclipse.jdt.core.codeComplete.localSuffixes= | 16 org.eclipse.jdt.core.codeComplete.localSuffixes= |
15 org.eclipse.jdt.core.codeComplete.staticFieldPrefixes= | 17 org.eclipse.jdt.core.codeComplete.staticFieldPrefixes= |
16 org.eclipse.jdt.core.codeComplete.staticFieldSuffixes= | 18 org.eclipse.jdt.core.codeComplete.staticFieldSuffixes= |
19 org.eclipse.jdt.core.codeComplete.staticFinalFieldPrefixes= | |
20 org.eclipse.jdt.core.codeComplete.staticFinalFieldSuffixes= | |
17 org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled | 21 org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled |
18 org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 | 22 org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 |
19 org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve | 23 org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve |
20 org.eclipse.jdt.core.compiler.compliance=1.6 | 24 org.eclipse.jdt.core.compiler.compliance=1.7 |
21 org.eclipse.jdt.core.compiler.debug.lineNumber=generate | 25 org.eclipse.jdt.core.compiler.debug.lineNumber=generate |
22 org.eclipse.jdt.core.compiler.debug.localVariable=generate | 26 org.eclipse.jdt.core.compiler.debug.localVariable=generate |
23 org.eclipse.jdt.core.compiler.debug.sourceFile=generate | 27 org.eclipse.jdt.core.compiler.debug.sourceFile=generate |
24 org.eclipse.jdt.core.compiler.doc.comment.support=enabled | 28 org.eclipse.jdt.core.compiler.doc.comment.support=enabled |
25 org.eclipse.jdt.core.compiler.maxProblemPerUnit=100 | 29 org.eclipse.jdt.core.compiler.maxProblemPerUnit=100 |
26 org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning | 30 org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning |
27 org.eclipse.jdt.core.compiler.problem.assertIdentifier=error | 31 org.eclipse.jdt.core.compiler.problem.assertIdentifier=error |
28 org.eclipse.jdt.core.compiler.problem.autoboxing=ignore | 32 org.eclipse.jdt.core.compiler.problem.autoboxing=ignore |
29 org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning | 33 org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning |
30 org.eclipse.jdt.core.compiler.problem.deadCode=ignore | 34 org.eclipse.jdt.core.compiler.problem.deadCode=warning |
31 org.eclipse.jdt.core.compiler.problem.deprecation=warning | 35 org.eclipse.jdt.core.compiler.problem.deprecation=warning |
32 org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=enabled | 36 org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=enabled |
33 org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=enabled | 37 org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=enabled |
34 org.eclipse.jdt.core.compiler.problem.discouragedReference=warning | 38 org.eclipse.jdt.core.compiler.problem.discouragedReference=warning |
35 org.eclipse.jdt.core.compiler.problem.emptyStatement=warning | 39 org.eclipse.jdt.core.compiler.problem.emptyStatement=warning |
49 org.eclipse.jdt.core.compiler.problem.invalidJavadoc=ignore | 53 org.eclipse.jdt.core.compiler.problem.invalidJavadoc=ignore |
50 org.eclipse.jdt.core.compiler.problem.invalidJavadocTags=enabled | 54 org.eclipse.jdt.core.compiler.problem.invalidJavadocTags=enabled |
51 org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsDeprecatedRef=enabled | 55 org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsDeprecatedRef=enabled |
52 org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsNotVisibleRef=enabled | 56 org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsNotVisibleRef=enabled |
53 org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsVisibility=private | 57 org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsVisibility=private |
54 org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore | 58 org.eclipse.jdt.core.compiler.problem.localVariableHiding=warning |
55 org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=error | 59 org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=error |
56 org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=error | 60 org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=error |
57 org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore | 61 org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=warning |
58 org.eclipse.jdt.core.compiler.problem.missingJavadocComments=ignore | 62 org.eclipse.jdt.core.compiler.problem.missingJavadocComments=ignore |
59 org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsOverriding=enabled | 63 org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsOverriding=enabled |
60 org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsVisibility=public | 64 org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsVisibility=public |
61 org.eclipse.jdt.core.compiler.problem.missingJavadocTags=ignore | 65 org.eclipse.jdt.core.compiler.problem.missingJavadocTags=ignore |
62 org.eclipse.jdt.core.compiler.problem.missingJavadocTagsOverriding=enabled | 66 org.eclipse.jdt.core.compiler.problem.missingJavadocTagsOverriding=enabled |
63 org.eclipse.jdt.core.compiler.problem.missingJavadocTagsVisibility=private | 67 org.eclipse.jdt.core.compiler.problem.missingJavadocTagsVisibility=private |
64 org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=error | 68 org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=error |
65 org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=disabled | 69 org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=disabled |
66 org.eclipse.jdt.core.compiler.problem.missingSerialVersion=ignore | 70 org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning |
67 org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore | 71 org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=warning |
68 org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning | 72 org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning |
69 org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning | 73 org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning |
70 org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore | 74 org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore |
71 org.eclipse.jdt.core.compiler.problem.nullReference=warning | 75 org.eclipse.jdt.core.compiler.problem.nullReference=warning |
72 org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning | 76 org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning |
73 org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore | 77 org.eclipse.jdt.core.compiler.problem.parameterAssignment=warning |
74 org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=warning | 78 org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=warning |
75 org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore | 79 org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore |
76 org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore | 80 org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore |
77 org.eclipse.jdt.core.compiler.problem.rawTypeReference=ignore | 81 org.eclipse.jdt.core.compiler.problem.rawTypeReference=ignore |
78 org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore | 82 org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore |
79 org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore | 83 org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=warning |
80 org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore | 84 org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore |
81 org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore | 85 org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore |
82 org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore | 86 org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=warning |
83 org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled | 87 org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled |
84 org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning | 88 org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning |
85 org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled | 89 org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled |
86 org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled | 90 org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled |
87 org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore | 91 org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore |
93 org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=error | 97 org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=error |
94 org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore | 98 org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore |
95 org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning | 99 org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning |
96 org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore | 100 org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore |
97 org.eclipse.jdt.core.compiler.problem.unsafeTypeOperation=warning | 101 org.eclipse.jdt.core.compiler.problem.unsafeTypeOperation=warning |
98 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore | 102 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=warning |
99 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled | 103 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled |
100 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled | 104 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled |
101 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled | 105 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled |
102 org.eclipse.jdt.core.compiler.problem.unusedImport=warning | 106 org.eclipse.jdt.core.compiler.problem.unusedImport=warning |
103 org.eclipse.jdt.core.compiler.problem.unusedLabel=warning | 107 org.eclipse.jdt.core.compiler.problem.unusedLabel=warning |
104 org.eclipse.jdt.core.compiler.problem.unusedLocal=warning | 108 org.eclipse.jdt.core.compiler.problem.unusedLocal=warning |
105 org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore | 109 org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=warning |
106 org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore | 110 org.eclipse.jdt.core.compiler.problem.unusedParameter=warning |
107 org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled | 111 org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled |
108 org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled | 112 org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled |
109 org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled | 113 org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled |
110 org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=ignore | 114 org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning |
111 org.eclipse.jdt.core.compiler.problem.unusedWarningToken=ignore | 115 org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning |
112 org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning | 116 org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning |
113 org.eclipse.jdt.core.compiler.processAnnotations=disabled | 117 org.eclipse.jdt.core.compiler.processAnnotations=disabled |
114 org.eclipse.jdt.core.compiler.source=1.6 | 118 org.eclipse.jdt.core.compiler.source=1.7 |
115 org.eclipse.jdt.core.compiler.taskCaseSensitive=enabled | 119 org.eclipse.jdt.core.compiler.taskCaseSensitive=enabled |
116 org.eclipse.jdt.core.compiler.taskPriorities=NORMAL,HIGH,NORMAL | 120 org.eclipse.jdt.core.compiler.taskPriorities=NORMAL,HIGH,NORMAL |
117 org.eclipse.jdt.core.compiler.taskTags=TODO,FIXME,XXX | 121 org.eclipse.jdt.core.compiler.taskTags=TODO,FIXME,XXX |
118 org.eclipse.jdt.core.formatter.align_type_members_on_columns=false | 122 org.eclipse.jdt.core.formatter.align_type_members_on_columns=false |
119 org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16 | 123 org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16 |