<commit_before>/***********************************************************************
 * Copyright (c) 2004 Actuate Corporation.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 * Actuate Corporation - initial API and implementation
 ***********************************************************************/

package org.eclipse.birt.chart.computation;

import org.eclipse.birt.chart.engine.i18n.Messages;

/**
 * This class ...
 * 
 * @author Actuate Corporation
 */
public interface IConstants
{

    public final double LOG_10 = Math.log(10);

    public final int TICK_SIZE = 5;

    public final int TICK_SIDE1 = 1;

    public final int TICK_SIDE2 = 2;

    public final int TICK_NONE = 0;

    public final int TICK_LEFT = TICK_SIDE1;

    public final int TICK_RIGHT = TICK_SIDE2;

    public final int TICK_ABOVE = TICK_SIDE1;

    public final int TICK_BELOW = TICK_SIDE2;

    public final int TICK_ACROSS = TICK_SIDE1 | TICK_SIDE2;

    public final int NUMERICAL = 1;

    public final int LINEAR = 2;

    public final int LOGARITHMIC = 4;

    public final int DATE_TIME = 8;

    public final int TEXT = 16;

    public final int PERCENT = 32;

    public final int OTHER = 64;

    public final int AXIS = 1;

    public final int LABELS = 2;

    public final int HORIZONTAL = 0;

    public final int VERTICAL = 1;

    public final int FORWARD = 1;

    public final int BACKWARD = -1;

    public final int TWO_D = 0;

    public final int TWO_5_D = 1;

    public final int THREE_D = 2;

    public final int LEFT = 1;

    public final int RIGHT = 2;

    public final int TOP = 3;

    public final int BOTTOM = 4;

    public final int ABOVE = TOP;

    public final int BELOW = BOTTOM;

    public final int OUTSIDE = 5;

    public final int INSIDE = 6;

    public final int MAX = 1;

    public final int MIN = 2;

    public final int VALUE = 3;

    public final int AVERAGE = 4;

    public final int UNDEFINED = 0;

    public final int MAJOR = 0;

    public final int MINOR = 1;

    public final int BASE = 1;

    public final int ORTHOGONAL = 2;

    public final int USER_INTERFACE = 1;

    public final int DESIGN_TIME = 2;

    public final int RUN_TIME = 3;

    public final int COLLECTION = 1;

    public final int PRIMITIVE_ARRAY = 2;

    public final int NON_PRIMITIVE_ARRAY = 3;

    public static final String EMPTY_STRING = ""; //$NON-NLS-1$

    public static final String ONE_SPACE = " "; //$NON-NLS-1$

    public static final String UNDEFINED_STRING = Messages.getString("constant.undefined.string", null); //$NON-NLS-1$

    public static final String NULL_STRING = Messages.getString("constant.null.string", null); //$NON-NLS-1$

    public final int SOME_NULL = -2;

    public final int LESS = -1;

    public final int EQUAL = 0;

    public final int MORE = 1;
}<commit_msg>Updated to use a default locale instead of null<commit_after>/***********************************************************************
 * Copyright (c) 2004 Actuate Corporation.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 * Actuate Corporation - initial API and implementation
 ***********************************************************************/

package org.eclipse.birt.chart.computation;

import java.util.Locale;

import org.eclipse.birt.chart.engine.i18n.Messages;

/**
 * This class ...
 * 
 * @author Actuate Corporation
 */
public interface IConstants
{

    public final double LOG_10 = Math.log(10);

    public final int TICK_SIZE = 5;

    public final int TICK_SIDE1 = 1;

    public final int TICK_SIDE2 = 2;

    public final int TICK_NONE = 0;

    public final int TICK_LEFT = TICK_SIDE1;

    public final int TICK_RIGHT = TICK_SIDE2;

    public final int TICK_ABOVE = TICK_SIDE1;

    public final int TICK_BELOW = TICK_SIDE2;

    public final int TICK_ACROSS = TICK_SIDE1 | TICK_SIDE2;

    public final int NUMERICAL = 1;

    public final int LINEAR = 2;

    public final int LOGARITHMIC = 4;

    public final int DATE_TIME = 8;

    public final int TEXT = 16;

    public final int PERCENT = 32;

    public final int OTHER = 64;

    public final int AXIS = 1;

    public final int LABELS = 2;

    public final int HORIZONTAL = 0;

    public final int VERTICAL = 1;

    public final int FORWARD = 1;

    public final int BACKWARD = -1;

    public final int TWO_D = 0;

    public final int TWO_5_D = 1;

    public final int THREE_D = 2;

    public final int LEFT = 1;

    public final int RIGHT = 2;

    public final int TOP = 3;

    public final int BOTTOM = 4;

    public final int ABOVE = TOP;

    public final int BELOW = BOTTOM;

    public final int OUTSIDE = 5;

    public final int INSIDE = 6;

    public final int MAX = 1;

    public final int MIN = 2;

    public final int VALUE = 3;

    public final int AVERAGE = 4;

    public final int UNDEFINED = 0;

    public final int MAJOR = 0;

    public final int MINOR = 1;

    public final int BASE = 1;

    public final int ORTHOGONAL = 2;

    public final int USER_INTERFACE = 1;

    public final int DESIGN_TIME = 2;

    public final int RUN_TIME = 3;

    public final int COLLECTION = 1;

    public final int PRIMITIVE_ARRAY = 2;

    public final int NON_PRIMITIVE_ARRAY = 3;

    public static final String EMPTY_STRING = ""; //$NON-NLS-1$

    public static final String ONE_SPACE = " "; //$NON-NLS-1$

    public static final String UNDEFINED_STRING = Messages.getString("constant.undefined.string", Locale.getDefault()); //$NON-NLS-1$

    public static final String NULL_STRING = Messages.getString("constant.null.string", Locale.getDefault()); //$NON-NLS-1$

    public final int SOME_NULL = -2;

    public final int LESS = -1;

    public final int EQUAL = 0;

    public final int MORE = 1;
}
{'fraction_non_alphanumeric': 0.11854838709677419, 'fraction_numerical': 0.024193548387096774, 'mean_word_length': 2.914772727272727, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3233140', 'n_tokens_mistral': 2122, 'n_tokens_neox': 1838, 'n_words': 708}