aboutsummaryrefslogtreecommitdiff
path: root/src/eclipseAgent/lombok/eclipse/agent/PatchValEclipse.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2014-04-01 23:44:42 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2014-04-01 23:44:55 +0200
commit735ac6e8c256f667b2d742c76029868f086a99d4 (patch)
tree29415fc1dc03d077888fd5a008358e38eb380ed2 /src/eclipseAgent/lombok/eclipse/agent/PatchValEclipse.java
parent9c8098d35be368df3ee3880ab2160a0307cb5b14 (diff)
downloadlombok-735ac6e8c256f667b2d742c76029868f086a99d4.tar.gz
lombok-735ac6e8c256f667b2d742c76029868f086a99d4.tar.bz2
lombok-735ac6e8c256f667b2d742c76029868f086a99d4.zip
all usage of sneakyThrow is now throw sneakyThrow as it should be.
Diffstat (limited to 'src/eclipseAgent/lombok/eclipse/agent/PatchValEclipse.java')
-rw-r--r--src/eclipseAgent/lombok/eclipse/agent/PatchValEclipse.java16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/eclipseAgent/lombok/eclipse/agent/PatchValEclipse.java b/src/eclipseAgent/lombok/eclipse/agent/PatchValEclipse.java
index 54b37341..7d5f36f4 100644
--- a/src/eclipseAgent/lombok/eclipse/agent/PatchValEclipse.java
+++ b/src/eclipseAgent/lombok/eclipse/agent/PatchValEclipse.java
@@ -159,9 +159,9 @@ public class PatchValEclipse {
Reflection.astConverterRecordNodes.invoke(converter, newAnnotation, valAnnotation);
Reflection.astConverterRecordNodes.invoke(converter, newAnnotation.getTypeName(), valAnnotation.type);
} catch (IllegalAccessException e) {
- Lombok.sneakyThrow(e);
+ throw Lombok.sneakyThrow(e);
} catch (InvocationTargetException e) {
- Lombok.sneakyThrow(e.getCause());
+ throw Lombok.sneakyThrow(e.getCause());
}
modifiers.add(newAnnotation);
}
@@ -172,11 +172,11 @@ public class PatchValEclipse {
try {
modifier = Reflection.modifierConstructor.newInstance(ast);
} catch (InstantiationException e) {
- Lombok.sneakyThrow(e);
+ throw Lombok.sneakyThrow(e);
} catch (IllegalAccessException e) {
- Lombok.sneakyThrow(e);
+ throw Lombok.sneakyThrow(e);
} catch (InvocationTargetException e) {
- Lombok.sneakyThrow(e);
+ throw Lombok.sneakyThrow(e);
}
if (modifier != null) {
@@ -191,11 +191,11 @@ public class PatchValEclipse {
try {
out = Reflection.markerAnnotationConstructor.newInstance(ast);
} catch (InstantiationException e) {
- Lombok.sneakyThrow(e);
+ throw Lombok.sneakyThrow(e);
} catch (IllegalAccessException e) {
- Lombok.sneakyThrow(e);
+ throw Lombok.sneakyThrow(e);
} catch (InvocationTargetException e) {
- Lombok.sneakyThrow(e);
+ throw Lombok.sneakyThrow(e);
}
if (out != null) {