mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-15 14:16:39 +00:00
Merge branch 'issue349-test-failed' of https://github.com/buzztaiki/lombok into buzztaiki-issue349-test-failed
This commit is contained in:
commit
82d939844f
1 file changed
+7
-1
@@ -56,6 +56,12 @@ public class RunTestsViaDelombok extends AbstractRunTests {
|
||||
delombok.addFile(file.getAbsoluteFile().getParentFile(), file.getName());
|
||||
delombok.setSourcepath(file.getAbsoluteFile().getParent());
|
||||
delombok.setWriter(result);
|
||||
delombok.delombok();
|
||||
Locale originalLocale = Locale.getDefault();
|
||||
Locale.setDefault(Locale.ENGLISH);
|
||||
try {
|
||||
delombok.delombok();
|
||||
} finally {
|
||||
Locale.setDefault(originalLocale);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user