Skip to content

Commit

Permalink
Make DiffViewerComparator actually ViewerComparator
Browse files Browse the repository at this point in the history
It was a ViewerSorter(deprecated).
  • Loading branch information
akurtakov committed May 10, 2024
1 parent 5f4a41c commit a2ad0b3
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2010, 2017 IBM Corporation and others.
* Copyright (c) 2010, 2024 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
Expand All @@ -19,9 +19,9 @@
import org.eclipse.compare.structuremergeviewer.DiffNode;
import org.eclipse.compare.structuremergeviewer.DocumentRangeNode;
import org.eclipse.jface.util.Policy;
import org.eclipse.jface.viewers.ViewerSorter;
import org.eclipse.jface.viewers.ViewerComparator;

public class DiffViewerComparator extends ViewerSorter {
public class DiffViewerComparator extends ViewerComparator {

public boolean isSorterProperty(Object element, Object property) {
return false;
Expand Down

0 comments on commit a2ad0b3

Please sign in to comment.