Making delombok compatible with post-resolution transformers meant delombok would fail with a 'duplicate context value' error.

Fixes issue #178

Thanks to Neildo for using the 0.10.0 beta and spotting the problem - the tests don't run 1 delombok with multiple files. Maybe we should change that.
This commit is contained in:
Reinier Zwitserloot committed 2011-01-08 16:35:07 -03:00
1 parent 1d83020a0c
commit 6d8cee3757
1 file changed
+1
@@ -366,6 +366,7 @@ public class Delombok {
for (File fileToParse : filesToParse) {
Comments comments = new Comments();
context.put(Comments.class, (Comments) null);
context.put(Comments.class, comments);
@SuppressWarnings("deprecation")