diff --git a/platform/diff-impl/src/com/intellij/diff/tools/fragmented/ChangedBlock.java b/platform/diff-impl/src/com/intellij/diff/tools/fragmented/ChangedBlock.java index 6c94c2365c92..b58db4495d08 100644 --- a/platform/diff-impl/src/com/intellij/diff/tools/fragmented/ChangedBlock.java +++ b/platform/diff-impl/src/com/intellij/diff/tools/fragmented/ChangedBlock.java @@ -82,14 +82,6 @@ public class ChangedBlock { return myLine2; } - public boolean hasInsertion() { - return myStartOffset2 != myEndOffset2; - } - - public boolean hasDeletion() { - return myStartOffset1 != myEndOffset1; - } - @NotNull public LineFragment getLineFragment() { return myLineFragment; diff --git a/platform/diff-impl/src/com/intellij/diff/tools/util/FoldingModelSupport.java b/platform/diff-impl/src/com/intellij/diff/tools/util/FoldingModelSupport.java index 76e2baf88284..5f7c35df2be5 100644 --- a/platform/diff-impl/src/com/intellij/diff/tools/util/FoldingModelSupport.java +++ b/platform/diff-impl/src/com/intellij/diff/tools/util/FoldingModelSupport.java @@ -85,14 +85,6 @@ public class FoldingModelSupport { // Init // - @Deprecated - protected void install(@Nullable final Iterator changedLines, - @NotNull final UserDataHolder context, - final boolean defaultExpanded, - final int range) { - install(changedLines, context, new Settings(range, defaultExpanded)); - } - /* * Iterator returns ranges of changed lines: start1, end1, start2, end2, ... */ @@ -498,11 +490,6 @@ public class FoldingModelSupport { } } - @Deprecated - public void updateContext(@NotNull UserDataHolder context, boolean defaultState) { - updateContext(context, new Settings(0, defaultState)); - } - public void updateContext(@NotNull UserDataHolder context, @NotNull final Settings settings) { if (myFoldings.isEmpty()) return; // do not rewrite cache by initial state context.putUserData(CACHE_KEY, getFoldingCache(settings)); diff --git a/platform/diff-impl/src/com/intellij/diff/tools/util/LineFragmentCache.java b/platform/diff-impl/src/com/intellij/diff/tools/util/LineFragmentCache.java index 9653f0fc77bf..f3eadad277d2 100644 --- a/platform/diff-impl/src/com/intellij/diff/tools/util/LineFragmentCache.java +++ b/platform/diff-impl/src/com/intellij/diff/tools/util/LineFragmentCache.java @@ -47,14 +47,6 @@ public class LineFragmentCache { myFragments = new HashMap(3); } - public long getStamp1() { - return myModificationStamp1; - } - - public long getStamp2() { - return myModificationStamp2; - } - public boolean checkStamps(long stamp1, long stamp2) { return myModificationStamp1 == stamp1 && myModificationStamp2 == stamp2; }