org.netbeans.modules.java.hints.Bundle.properties Maven / Gradle / Ivy
The newest version!
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#
# This bundle defines the localized name of the module, as will be shown
# in the options dialog and the setup wizard, and the category folder it will
# be found in, in the options dialog under System | Modules
#
# Braces
LBL_Braces_For=For Loops Should Use Braces
LBL_Braces_While=While Loops Should Use Braces
LBL_Braces_DoWhile=Do-While Loops Should Use Braces
LBL_Braces_If=If-Else Statements Should Use Braces
DSC_Braces_For=Warns if a for
loop does not \
have its body wrapped in curly braces.
DSC_Braces_While=While Loops Should Use Braces
DSC_Braces_DoWhile=Do-While Loops Should Use Braces
DSC_Braces_If=If-Else Statements Should Use Braces
LBL_Braces_Fix=Add Braces
# Assignment to itself
DN_AssignmentToItself=Assignment To Itself
DESC_AssignmentToItself=Assignment To Itself
ERR_AssignmentToItself=Assignment To Itself
LBL_ATI_Remove_FIX=Remove The Assignment
LBL_ATI_Qualify_FIX=Qualify with this
LBL_ATI_NewParameter_FIX=Introduce Parameter
LBL_ATI_NewField_FIX=Introduce Field
# Imports
DN_Imports_UNUSED=Unused Import
#Used in Source/Inspect:
# {0} - the number of violating imports (never 0)
DN_Imports_UNUSED_Multi={0,choice,1#Unused Import|1\
String comparisons should generally be done using the equals() method.
FIX_WrongStringComparison_NullCheck=Use equals() with null check
FIX_WrongStringComparison_TernaryNullCheck=Use equals() with null check (ternary)
FIX_WrongStringComparison_NoNullCheck=Use equals()
FIX_WrongStringComparison_ReverseOperands=Use equals() and reverse operands
WrongStringComparisonCustomizer.ternaryNullCheck.text=Check for null using ternary conditional operator
WrongStringComparisonCustomizer.stringLiteralFirst.text=Put String literals first when possible
ACSD_Ternary_Null_Check=Controls whether the fix uses a ternary conditional null check.
ACSD_String_Literals_First=Generates less code by avoiding a null check if one of the operands is a String literal.
#Empty statements
LBL_Empty_FOR_LOOP=Empty statement after 'for'
LBL_Empty_ENHANCED_FOR_LOOP=Empty statement after 'for'
LBL_Empty_WHILE_LOOP=Empty statement after 'while'
LBL_Empty_DO_WHILE_LOOP=Empty statement after 'do'
LBL_Empty_IF=Empty statement after 'if/else'
LBL_Empty_BLOCK=Empty statement
DSC_Empty_FOR_LOOP=Checks for 'for' statements in form
\
for(...);
.
DSC_Empty_WHILE_LOOP=Checks for 'while' statements in form
\
while(...);
.
DSC_Empty_DO_WHILE_LOOP=Checks for 'do/while' statements in form
\
do;
while
.
DSC_Empty_IF=Checks for 'if/else' statements in form
\
if(...);
else;
.
DSC_Empty_BLOCK=Checks for empty statements in blocks usually represented \
as superfluous semicolon.
MSG_HiddenField=Field hides another field
HINT_HiddenField=Declaration of a field in a class can hide declaration of \
another field in superclasses. Although possible, this is not very good programming style.
MSG_FixHiddenFiledText=Rename the field
MSG_FixHiddenByVariableFiledText=Rename the local variable
MSG_HiddenFieldByVar=Local variable hides a field
HINT_HiddenFieldByVar=Declaration of a variable in a method can hide declaration of \
a field declared in the surrounding class. Although possible, this is not very good programming style.
LBL_EmptyCancel=Empty cancel() for cancelable tasks
DSC_EmptyCancel=Warn about empty cancel() methods for cancelable tasks
MSG_EmptyCancel=Empty cancel()
#{0}:
# 0 - field
# 1 - method
# 2 - other (unknown)
#{1}: element simple name
MSG_StaticAccess=Accessing static {0,choice,0#field|1#method|1Fields are final