diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2015-01-21 01:11:26 +0100 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2015-01-21 01:11:26 +0100 |
commit | cd139f46355ea01276c2ae13248a2aca5111678a (patch) | |
tree | 4216fb7f8aab71bc14496794562feb6106b1d07c /test/transform/resource/after-delombok/BuilderSingularGuavaMaps.java | |
parent | ef60d1af001204622b428e78894c967a9aee7e91 (diff) | |
download | lombok-cd139f46355ea01276c2ae13248a2aca5111678a.tar.gz lombok-cd139f46355ea01276c2ae13248a2aca5111678a.tar.bz2 lombok-cd139f46355ea01276c2ae13248a2aca5111678a.zip |
[@Singular @Builder] Our recipe for guava builders did not work in javac 1.7 and below; fixed.
Diffstat (limited to 'test/transform/resource/after-delombok/BuilderSingularGuavaMaps.java')
-rw-r--r-- | test/transform/resource/after-delombok/BuilderSingularGuavaMaps.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/transform/resource/after-delombok/BuilderSingularGuavaMaps.java b/test/transform/resource/after-delombok/BuilderSingularGuavaMaps.java index c55dff28..ab250e3c 100644 --- a/test/transform/resource/after-delombok/BuilderSingularGuavaMaps.java +++ b/test/transform/resource/after-delombok/BuilderSingularGuavaMaps.java @@ -58,9 +58,9 @@ class BuilderSingularGuavaMaps<K, V> { } @java.lang.SuppressWarnings("all") public BuilderSingularGuavaMaps<K, V> build() { - com.google.common.collect.ImmutableMap<K, V> battleaxes = this.battleaxes == null ? com.google.common.collect.ImmutableMap.of() : this.battleaxes.build(); - com.google.common.collect.ImmutableSortedMap<Integer, V> vertices = this.vertices == null ? com.google.common.collect.ImmutableSortedMap.of() : this.vertices.build(); - com.google.common.collect.ImmutableBiMap<java.lang.Object, java.lang.Object> rawMap = this.rawMap == null ? com.google.common.collect.ImmutableBiMap.of() : this.rawMap.build(); + com.google.common.collect.ImmutableMap<K, V> battleaxes = this.battleaxes == null ? com.google.common.collect.ImmutableMap.<K, V>of() : this.battleaxes.build(); + com.google.common.collect.ImmutableSortedMap<Integer, V> vertices = this.vertices == null ? com.google.common.collect.ImmutableSortedMap.<Integer, V>of() : this.vertices.build(); + com.google.common.collect.ImmutableBiMap<java.lang.Object, java.lang.Object> rawMap = this.rawMap == null ? com.google.common.collect.ImmutableBiMap.<java.lang.Object, java.lang.Object>of() : this.rawMap.build(); return new BuilderSingularGuavaMaps<K, V>(battleaxes, vertices, rawMap); } @java.lang.Override |