X-Git-Url: http://git.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/LongLiteralMinValue.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/LongLiteralMinValue.java index c349ad4..c6de42d 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/LongLiteralMinValue.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/LongLiteralMinValue.java @@ -1,27 +1,31 @@ /******************************************************************************* - * Copyright (c) 2000, 2001, 2002 International Business Machines Corp. and others. + * Copyright (c) 2000, 2003 IBM Corporation and others. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v0.5 + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v05.html + * http://www.eclipse.org/legal/cpl-v10.html * * Contributors: * IBM Corporation - initial API and implementation - ******************************************************************************/ + *******************************************************************************/ package net.sourceforge.phpdt.internal.compiler.ast; import net.sourceforge.phpdt.internal.compiler.impl.Constant; public class LongLiteralMinValue extends LongLiteral { - final static char[] CharValue = new char[]{'-', '9','2','2','3','3','7','2','0','3','6','8','5','4','7','7','5','8','0','8','L'}; - final static Constant MIN_VALUE = Constant.fromValue(Long.MIN_VALUE) ; + final static char[] CharValue = new char[] { '-', '9', '2', '2', '3', '3', + '7', '2', '0', '3', '6', '8', '5', '4', '7', '7', '5', '8', '0', + '8', 'L' }; -public LongLiteralMinValue(){ - super(CharValue,0,0,Long.MIN_VALUE); - constant = MIN_VALUE; -} -public void computeConstant() { + final static Constant MIN_VALUE = Constant.fromValue(Long.MIN_VALUE); + + public LongLiteralMinValue() { + super(CharValue, 0, 0, Long.MIN_VALUE); + constant = MIN_VALUE; + } + + public void computeConstant() { - /*precomputed at creation time*/} + /* precomputed at creation time */} }