|
Andrew Overholt |
d703cd9 |
### Eclipse Workspace Patch 1.0
|
|
Andrew Overholt |
d703cd9 |
#P org.eclipse.jdt.core
|
|
Andrew Overholt |
d703cd9 |
Index: compiler/org/eclipse/jdt/internal/compiler/impl/CompilerOptions.java
|
|
Andrew Overholt |
d703cd9 |
===================================================================
|
|
Andrew Overholt |
d703cd9 |
RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/CompilerOptions.java,v
|
|
Andrew Overholt |
d703cd9 |
retrieving revision 1.203
|
|
Andrew Overholt |
d703cd9 |
diff -u -r1.203 CompilerOptions.java
|
|
Andrew Overholt |
d703cd9 |
--- compiler/org/eclipse/jdt/internal/compiler/impl/CompilerOptions.java 14 Apr 2008 19:41:33 -0000 1.203
|
|
Andrew Overholt |
d703cd9 |
+++ compiler/org/eclipse/jdt/internal/compiler/impl/CompilerOptions.java 15 Dec 2008 19:50:02 -0000
|
|
Andrew Overholt |
d703cd9 |
@@ -253,9 +253,9 @@
|
|
Andrew Overholt |
d703cd9 |
// By default only lines and source attributes are generated.
|
|
Andrew Overholt |
d703cd9 |
public int produceDebugAttributes = ClassFileConstants.ATTR_SOURCE | ClassFileConstants.ATTR_LINES;
|
|
Andrew Overholt |
d703cd9 |
|
|
Andrew Overholt |
d703cd9 |
- public long complianceLevel = ClassFileConstants.JDK1_4; // by default be compliant with 1.4
|
|
Andrew Overholt |
d703cd9 |
- public long sourceLevel = ClassFileConstants.JDK1_3; //1.3 source behavior by default
|
|
Andrew Overholt |
d703cd9 |
- public long targetJDK = ClassFileConstants.JDK1_2; // default generates for JVM1.2
|
|
Andrew Overholt |
d703cd9 |
+ public long complianceLevel = ClassFileConstants.JDK1_5; // by default be compliant with 1.4
|
|
Andrew Overholt |
d703cd9 |
+ public long sourceLevel = ClassFileConstants.JDK1_5; //1.3 source behavior by default
|
|
Andrew Overholt |
d703cd9 |
+ public long targetJDK = ClassFileConstants.JDK1_5; // default generates for JVM1.2
|
|
Andrew Overholt |
d703cd9 |
|
|
Andrew Overholt |
d703cd9 |
// source encoding format
|
|
Andrew Overholt |
d703cd9 |
public String defaultEncoding = null; // will use the platform default encoding
|
|
Andrew Overholt |
d703cd9 |
@@ -757,7 +757,7 @@
|
|
Andrew Overholt |
d703cd9 |
} else if (DISABLED.equals(optionValue)) {
|
|
Andrew Overholt |
d703cd9 |
this.reportUnusedParameterIncludeDocCommentReference = false;
|
|
Andrew Overholt |
d703cd9 |
}
|
|
Andrew Overholt |
d703cd9 |
- }
|
|
Andrew Overholt |
d703cd9 |
+ }
|
|
Andrew Overholt |
d703cd9 |
if ((optionValue = optionsMap.get(OPTION_ReportSpecialParameterHidingField)) != null) {
|
|
Andrew Overholt |
d703cd9 |
if (ENABLED.equals(optionValue)) {
|
|
Andrew Overholt |
d703cd9 |
this.reportSpecialParameterHidingField = true;
|
|
Andrew Overholt |
d703cd9 |
@@ -944,10 +944,10 @@
|
|
Andrew Overholt |
d703cd9 |
}
|
|
Andrew Overholt |
d703cd9 |
if ((optionValue = optionsMap.get(OPTION_ReportMissingJavadocComments)) != null) {
|
|
Andrew Overholt |
d703cd9 |
updateSeverity(MissingJavadocComments, optionValue);
|
|
Andrew Overholt |
d703cd9 |
- }
|
|
Andrew Overholt |
d703cd9 |
+ }
|
|
Andrew Overholt |
d703cd9 |
if ((optionValue = optionsMap.get(OPTION_ReportMissingJavadocTagDescription)) != null) {
|
|
Andrew Overholt |
d703cd9 |
this.reportMissingJavadocTagDescription = (String) optionValue;
|
|
Andrew Overholt |
d703cd9 |
- }
|
|
Andrew Overholt |
d703cd9 |
+ }
|
|
Andrew Overholt |
d703cd9 |
if ((optionValue = optionsMap.get(OPTION_ReportMissingJavadocCommentsVisibility)) != null) {
|
|
Andrew Overholt |
d703cd9 |
if (PUBLIC.equals(optionValue)) {
|
|
Andrew Overholt |
d703cd9 |
this.reportMissingJavadocCommentsVisibility = ClassFileConstants.AccPublic;
|