View | Details | Raw Unified | Return to bug 101080 | Differences between
and this patch

Collapse All | Expand All

(-)compiler/org/eclipse/jdt/internal/compiler/CompilationResult.java (-3 / +3 lines)
Lines 112-123 Link Here
112
			} else {
112
			} else {
113
				priority += P_OUTSIDE_METHOD;
113
				priority += P_OUTSIDE_METHOD;
114
			}
114
			}
115
			if (firstErrors.contains(problem)){ // if context is null, firstErrors is null too
116
			  priority += P_FIRST_ERROR;
117
		    }
115
		} else {
118
		} else {
116
			priority += P_OUTSIDE_METHOD;
119
			priority += P_OUTSIDE_METHOD;
117
		}
120
		}
118
		if (firstErrors.contains(problem)){
119
			priority += P_FIRST_ERROR;
120
		}
121
		return priority;
121
		return priority;
122
	}
122
	}
123
123

Return to bug 101080