/*
 * Copyright 2000-2011 JetBrains s.r.o.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.intellij.ide.diff;

import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.jetbrains.concurrency.Promise;

public interface AsyncDiffElement {

  @NotNull
  Promise<DiffElement<?>> copyToAsync(@NotNull DiffElement<?> container,
                                      @Nullable DiffElement<?> target,
                                      @NotNull String relativePath);

  @NotNull
  Promise<Void> deleteAsync();
}

@@ -754,16 +754,40 @@
 omise;%0A%0A
+/**%0A * @author lene%0A */%0A
 public i
@@ -847,19 +847,16 @@
 fElement
-%3C?%3E
 %3E copyTo
@@ -881,19 +881,16 @@
 fElement
-%3C?%3E
  contain
@@ -928,19 +928,16 @@
         
-  
- 
 @Nullabl
@@ -953,11 +953,8 @@
 ment
-%3C?%3E
  tar
@@ -958,19 +958,16 @@
 target,%0A
-   
         

Revert "Forcing generics on DiffElements" IDEA-CR-54193 WI-27162