From 711244d4b37da114c139732c2572e33771be848e Mon Sep 17 00:00:00 2001 From: aclement Date: Sat, 13 Dec 2008 01:45:29 +0000 Subject: [PATCH] 258325: refix --- .../aspectj/ajdt/internal/core/builder/AjBuildManager.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java index 494880666..d17692fd8 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java @@ -1077,12 +1077,12 @@ public class AjBuildManager implements IOutputClassFileNameProvider, IBinarySour } else { outFile = new File(destinationPath, filename).getPath(); } - if (buildConfig.getCompilationResultDestinationManager() != null) { - buildConfig.getCompilationResultDestinationManager().reportClassFileWrite(outFile); - } BufferedOutputStream os = FileUtil.makeOutputStream(new File(outFile)); os.write(classFile.getBytes()); os.close(); + if (buildConfig.getCompilationResultDestinationManager() != null) { + buildConfig.getCompilationResultDestinationManager().reportClassFileWrite(outFile); + } return outFile; } -- 2.39.5