aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/eclipse/handlers/HandlePrintAST.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/lombok/eclipse/handlers/HandlePrintAST.java')
-rw-r--r--src/core/lombok/eclipse/handlers/HandlePrintAST.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/lombok/eclipse/handlers/HandlePrintAST.java b/src/core/lombok/eclipse/handlers/HandlePrintAST.java
index 65cda98a..0b61bc4d 100644
--- a/src/core/lombok/eclipse/handlers/HandlePrintAST.java
+++ b/src/core/lombok/eclipse/handlers/HandlePrintAST.java
@@ -50,7 +50,7 @@ public class HandlePrintAST extends EclipseAnnotationHandler<PrintAST> {
if (fileName.length() > 0) try {
stream = new PrintStream(new File(fileName));
} catch (FileNotFoundException e) {
- Lombok.sneakyThrow(e);
+ throw Lombok.sneakyThrow(e);
}
try {
annotationNode.up().traverse(new EclipseASTVisitor.Printer(annotation.getInstance().printContent(), stream, annotation.getInstance().printPositions()));
@@ -64,4 +64,4 @@ public class HandlePrintAST extends EclipseAnnotationHandler<PrintAST> {
}
}
}
-} \ No newline at end of file
+}