diff --git a/src/main/java/net/sf/jsqlparser/expression/DoubleValue.java b/src/main/java/net/sf/jsqlparser/expression/DoubleValue.java index 8ccde46ab..e56dbef7c 100644 --- a/src/main/java/net/sf/jsqlparser/expression/DoubleValue.java +++ b/src/main/java/net/sf/jsqlparser/expression/DoubleValue.java @@ -29,12 +29,13 @@ public class DoubleValue implements Expression { private double value; private String stringValue; - public DoubleValue(String value) { - if (value.charAt(0) == '+') { - value = value.substring(1); + public DoubleValue(final String value) { + String val = value; + if (val.charAt(0) == '+') { + val = val.substring(1); } - this.value = Double.parseDouble(value); - this.stringValue = value; + this.value = Double.parseDouble(val); + this.stringValue = val; } @Override diff --git a/src/main/java/net/sf/jsqlparser/expression/LongValue.java b/src/main/java/net/sf/jsqlparser/expression/LongValue.java index 0b5839324..5a3953770 100644 --- a/src/main/java/net/sf/jsqlparser/expression/LongValue.java +++ b/src/main/java/net/sf/jsqlparser/expression/LongValue.java @@ -29,12 +29,13 @@ public class LongValue implements Expression { private long value; private String stringValue; - public LongValue(String value) { - if (value.charAt(0) == '+') { - value = value.substring(1); + public LongValue(final String value) { + String val = value; + if (val.charAt(0) == '+') { + val = val.substring(1); } - this.value = Long.parseLong(value); - this.stringValue = value; + this.value = Long.parseLong(val); + this.stringValue = val; } @Override diff --git a/src/main/java/net/sf/jsqlparser/expression/operators/relational/MultiExpressionList.java b/src/main/java/net/sf/jsqlparser/expression/operators/relational/MultiExpressionList.java index f2d3be915..0e73575cf 100644 --- a/src/main/java/net/sf/jsqlparser/expression/operators/relational/MultiExpressionList.java +++ b/src/main/java/net/sf/jsqlparser/expression/operators/relational/MultiExpressionList.java @@ -19,24 +19,6 @@ * . * #L% */ -/* - * Copyright (C) 2013 toben. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, - * MA 02110-1301 USA - */ package net.sf.jsqlparser.expression.operators.relational; import java.util.ArrayList; diff --git a/src/main/java/net/sf/jsqlparser/statement/select/ValuesList.java b/src/main/java/net/sf/jsqlparser/statement/select/ValuesList.java index 8371a8503..2cf832fb5 100644 --- a/src/main/java/net/sf/jsqlparser/statement/select/ValuesList.java +++ b/src/main/java/net/sf/jsqlparser/statement/select/ValuesList.java @@ -19,24 +19,6 @@ * . * #L% */ -/* - * Copyright (C) 2013 toben. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, - * MA 02110-1301 USA - */ package net.sf.jsqlparser.statement.select; import java.util.Iterator;