Bug 76283 [performance] Problems requested twice when opening a Java editor
I20041013 When opening a Java editor, problems are requested once during ICompilationUnit#becomeWorkingCopy and once during ICompilationUnit#reconcile. The IProblemRequestor should be disabled during #becomeWorkingCopy so as to avoid to compute problems (which involves the full resolution of the working copy).
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java
/*
			 * @see IProblemRequestor#acceptProblem(IProblem)
			 */
			public void acceptProblem(IProblem problem) {
				if (fIsActive) {
					ProblemRequestorState state= (ProblemRequestorState) fProblemRequestorState.get();
					if (state != null)
						state.fReportedProblems.add(problem);
				}
			}
			
			/*
			 * @see IProblemRequestor#endReporting()
			 */
			public void endReporting() {
				ProblemRequestorState state= (ProblemRequestorState) fProblemRequestorState.get();
				if (state != null && !state.fInsideReportingSequence)
					internalEndReporting(state);
			}
			
			/*
			 * @see org.eclipse.jdt.internal.ui.text.java.IProblemRequestorExtension#endReportingSequence()
			 */
			public void endReportingSequence() {
				ProblemRequestorState state= (ProblemRequestorState) fProblemRequestorState.get();
				if (state != null && state.fInsideReportingSequence)
					internalEndReporting(state);
			}
			
			private void internalEndReporting(ProblemRequestorState state) {