mirror of
https://github.com/tiennm99/lombok.git
synced 2026-05-21 10:25:42 +00:00
Fixed some bugs in reading the constant pool and added tests
This commit is contained in:
@@ -1,5 +1,16 @@
|
||||
public class Foo implements java.util.RandomAccess {
|
||||
private static final long LONG = 123L;
|
||||
private static final String ONE = "Eén";
|
||||
private static final int INT = 123;
|
||||
private static final double DOUBLE = 1.23;
|
||||
private static final double DOUBLE_NAN = Double.NaN;
|
||||
private static final double DOUBLE_INF = Double.POSITIVE_INFINITY;
|
||||
private static final double DOUBLE_NEG_INF = Double.NEGATIVE_INFINITY;
|
||||
|
||||
private static final float FLOAT = 1.23F;
|
||||
private static final float FLOAT_NAN = Float.NaN;
|
||||
private static final float FLOAT_INF = Float.POSITIVE_INFINITY;
|
||||
private static final float FLOAT_NEG_INF = Float.NEGATIVE_INFINITY;
|
||||
|
||||
{
|
||||
String value = toString();
|
||||
|
||||
Reference in New Issue
Block a user