aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/javac/Javac8BasedLombokOptions.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2017-11-28 00:59:37 +0100
committerReinier Zwitserloot <reinier@zwitserloot.com>2017-11-28 00:59:52 +0100
commit15c44f54ccd7cc4502d12b79e6f91074e4e916bc (patch)
treea8edc6e4eacd56473b8ac7a4866c7ccad0666172 /src/core/lombok/javac/Javac8BasedLombokOptions.java
parentb1b49e062e5d64877891ecd327c1ffbd00df5636 (diff)
downloadlombok-15c44f54ccd7cc4502d12b79e6f91074e4e916bc.tar.gz
lombok-15c44f54ccd7cc4502d12b79e6f91074e4e916bc.tar.bz2
lombok-15c44f54ccd7cc4502d12b79e6f91074e4e916bc.zip
JDK9 support for delombok (and thus, for running the tests under JDK9).
Diffstat (limited to 'src/core/lombok/javac/Javac8BasedLombokOptions.java')
-rw-r--r--src/core/lombok/javac/Javac8BasedLombokOptions.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/lombok/javac/Javac8BasedLombokOptions.java b/src/core/lombok/javac/Javac8BasedLombokOptions.java
index 3fdea890..9a662490 100644
--- a/src/core/lombok/javac/Javac8BasedLombokOptions.java
+++ b/src/core/lombok/javac/Javac8BasedLombokOptions.java
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2013 The Project Lombok Authors.
+ * Copyright (C) 2013-2017 The Project Lombok Authors.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -28,7 +28,7 @@ import com.sun.tools.javac.util.Options;
public class Javac8BasedLombokOptions extends LombokOptions {
public static Javac8BasedLombokOptions replaceWithDelombokOptions(Context context) {
Options options = Options.instance(context);
- context.put(optionsKey, (Options)null);
+ context.put(optionsKey, (Options) null);
Javac8BasedLombokOptions result = new Javac8BasedLombokOptions(context);
result.putAll(options);
return result;