From 87dbaaa2793bfcf03a90a7d5a4ec02af0266a30e Mon Sep 17 00:00:00 2001 From: aclement Date: Fri, 20 Mar 2009 17:37:27 +0000 Subject: [PATCH] 268827: tell ajdt about class file removal --- .../src/org/aspectj/ajde/core/IOutputLocationManager.java | 2 ++ .../org/aspectj/ajde/core/internal/OutputLocationAdapter.java | 4 ++++ .../org/aspectj/ajde/core/TestOutputLocationManager.java | 3 +++ 3 files changed, 9 insertions(+) diff --git a/ajde.core/src/org/aspectj/ajde/core/IOutputLocationManager.java b/ajde.core/src/org/aspectj/ajde/core/IOutputLocationManager.java index 8f7f541ba..c1b4cad0e 100644 --- a/ajde.core/src/org/aspectj/ajde/core/IOutputLocationManager.java +++ b/ajde.core/src/org/aspectj/ajde/core/IOutputLocationManager.java @@ -61,4 +61,6 @@ public interface IOutputLocationManager { void reportClassFileWrite(String outputfile); + void reportClassFileRemove(String outputfile); + } diff --git a/ajde.core/src/org/aspectj/ajde/core/internal/OutputLocationAdapter.java b/ajde.core/src/org/aspectj/ajde/core/internal/OutputLocationAdapter.java index 04dee609c..3fdb7e16c 100644 --- a/ajde.core/src/org/aspectj/ajde/core/internal/OutputLocationAdapter.java +++ b/ajde.core/src/org/aspectj/ajde/core/internal/OutputLocationAdapter.java @@ -52,4 +52,8 @@ public class OutputLocationAdapter implements CompilationResultDestinationManage public void reportClassFileWrite(String outputfile) { this.locationManager.reportClassFileWrite(outputfile); } + + public void reportClassFileRemove(String outputfile) { + this.locationManager.reportClassFileRemove(outputfile); + } } diff --git a/ajde.core/testsrc/org/aspectj/ajde/core/TestOutputLocationManager.java b/ajde.core/testsrc/org/aspectj/ajde/core/TestOutputLocationManager.java index b810bb814..d6ed0e241 100644 --- a/ajde.core/testsrc/org/aspectj/ajde/core/TestOutputLocationManager.java +++ b/ajde.core/testsrc/org/aspectj/ajde/core/TestOutputLocationManager.java @@ -82,4 +82,7 @@ public class TestOutputLocationManager implements IOutputLocationManager { public void reportClassFileWrite(String outputfile) { } + public void reportClassFileRemove(String outputfile) { + } + } -- 2.39.5