From 41c1d9f5c997d09733e1dc99b38fa3588f683df5 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Thu, 25 Aug 2022 12:12:38 -0700 Subject: [PATCH] Polish --- .../src/main/java/org/springframework/boot/AotProcessor.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/AotProcessor.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/AotProcessor.java index f92d11fff8..137fe7d1b7 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/AotProcessor.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/AotProcessor.java @@ -95,7 +95,7 @@ public class AotProcessor { /** * Trigger the processing of the application managed by this instance. */ - public void process() throws IOException { + public void process() { deleteExistingOutput(); AotProcessorHook hook = new AotProcessorHook(); SpringApplicationHooks.withHook(hook, this::callApplicationMainMethod); @@ -136,7 +136,7 @@ public class AotProcessor { } } - private void performAotProcessing(GenericApplicationContext applicationContext) throws IOException { + private void performAotProcessing(GenericApplicationContext applicationContext) { FileSystemGeneratedFiles generatedFiles = new FileSystemGeneratedFiles(this::getRoot); DefaultGenerationContext generationContext = new DefaultGenerationContext( new ClassNameGenerator(this.application), generatedFiles);