Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -859,7 +859,7 @@ private static Object getElement(ISelection selection) {
*
* @deprecated Please use {@link #setFocus2()} instead.
*/
@Deprecated
@Deprecated(forRemoval = true, since = "2025-12")
public void setFocus() {
setFocus2();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1261,7 +1261,7 @@ protected void setRightDirty(boolean dirty) {
* @throws CoreException not thrown anymore
* @deprecated use {@link IFlushable#flush(IProgressMonitor)}.
*/
@Deprecated
@Deprecated(forRemoval = true, since = "2025-12")
public void save(IProgressMonitor monitor) throws CoreException {
flush(monitor);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@
* @deprecated Temporarily replaced by CompareWithOtherResourceHandler. See bug
* 264498.
*/
@Deprecated
@Deprecated(forRemoval = true, since = "2025-12")
public class CompareWithOtherResourceAction extends CompareAction {

@Override
public void run(ISelection selection) {

Check warning on line 30 in team/bundles/org.eclipse.compare/compare/org/eclipse/compare/internal/CompareWithOtherResourceAction.java

View check run for this annotation

Jenkins - Eclipse Platform / Compiler

Potential Programming Problem

LOW: The enclosing type CompareWithOtherResourceAction is deprecated, perhaps this member should be marked as deprecated, too?
// Show CompareWithOtherResourceDialog which return resources to compare
// and ancestor if specified. Don't need to display the other dialog
showSelectAncestorDialog = false;
Expand All @@ -35,7 +35,7 @@
}

@Override
protected boolean isEnabled(ISelection selection) {

Check warning on line 38 in team/bundles/org.eclipse.compare/compare/org/eclipse/compare/internal/CompareWithOtherResourceAction.java

View check run for this annotation

Jenkins - Eclipse Platform / Compiler

Potential Programming Problem

LOW: The enclosing type CompareWithOtherResourceAction is deprecated, perhaps this member should be marked as deprecated, too?
int selectionSize = 0;
if (selection instanceof IStructuredSelection) {
selectionSize = ((IStructuredSelection) selection).toArray().length;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ protected void contentChanged(final IContentChangeNotifier changed) {
* @deprecated Clients should override
* {@link #preDiffHook(IStructureComparator, IStructureComparator, IStructureComparator, IProgressMonitor)}
*/
@Deprecated
@Deprecated(forRemoval = true, since = "2025-12")
protected void preDiffHook(IStructureComparator ancestor, IStructureComparator left, IStructureComparator right) {
// we do nothing here
}
Expand Down Expand Up @@ -589,25 +589,26 @@ private void handleFailedRefresh(final String message) {
* {@link #postDiffHook(Differencer, IDiffContainer, IProgressMonitor)}
* instead
*/
@Deprecated
@Deprecated(forRemoval = true, since = "2025-12")
protected void postDiffHook(Differencer differencer, IDiffContainer root) {
// we do nothing here
}

/**
* This method is called from within {@link #diff(IProgressMonitor)} after
* the difference tree has been built. This method may be called from a
* background (non-UI) thread).
* This method is called from within {@link #diff(IProgressMonitor)} after the
* difference tree has been built. This method may be called from a background
* (non-UI) thread).
* <p>
* For backwards compatibility, this default implementation calls
* {@link #postDiffHook(Differencer, IDiffContainer)} from the UI thread.
* Clients should override this method even if they don't perform post
* processing to avoid the call to the UI thread.
* processing to avoid the call to the UI thread. This default implementation
* does nothing.
*
* @param differencer the differencer used to perform the differencing
* @param root the non-<code>null</code> root node of the difference tree
* @param monitor a progress monitor or <code>null</code> if progress is
* not required
* @param root the non-<code>null</code> root node of the difference tree
* @param monitor a progress monitor or <code>null</code> if progress is not
* required
* @since 3.3
*/
protected void postDiffHook(final Differencer differencer, final IDiffContainer root, IProgressMonitor monitor) {
Expand Down
Loading