blob: 07f5e28940c9aa70c095776ccff46732c24e3a10 [file] [log] [blame]
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
#
# Copyright 2010 Oracle and/or its affiliates. All rights reserved.
#
# Oracle and Java are registered trademarks of Oracle and/or its affiliates.
# Other names may be trademarks of their respective owners.
#
# The contents of this file are subject to the terms of either the GNU
# General Public License Version 2 only ("GPL") or the Common
# Development and Distribution License("CDDL") (collectively, the
# "License"). You may not use this file except in compliance with the
# License. You can obtain a copy of the License at
# http://www.netbeans.org/cddl-gplv2.html
# or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
# specific language governing permissions and limitations under the
# License. When distributing the software, include this License Header
# Notice in each file and include the License file at
# nbbuild/licenses/CDDL-GPL-2-CP. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the GPL Version 2 section of the License file that
# accompanied this code. If applicable, add the following below the
# License Header, with the fields enclosed by brackets [] replaced by
# your own identifying information:
# "Portions Copyrighted [year] [name of copyright owner]"
#
# If you wish your version of this file to be governed by only the CDDL
# or only the GPL Version 2, indicate your decision by adding
# "[Contributor] elects to include this software in this distribution
# under the [CDDL or GPL Version 2] license." If you do not indicate a
# single choice of license, a recipient has the option to distribute
# your version of this file under either the CDDL, the GPL Version 2 or
# to extend the choice of license to its licensees as provided above.
# However, if you add GPL Version 2 code and therefore, elected the GPL
# Version 2 license, then the option applies only if the new code is
# made subject to such option by the copyright holder.
#
# Contributor(s):
#
# Portions Copyrighted 2010 Sun Microsystems, Inc.
DN_AnnotationsNotRuntime_isAnnotation={0} does not have runtime Retention, the result will always be false
DN_AnnotationsNotRuntime_getAnnotation={0} does not have runtime Retention, the result will always be null
DN_AnnotationsNotRuntime_instanceof={0} does not have runtime Retention, the condition will always be false
#{0}: PatternSyntaxException.getDescription()
#{1}: PatternSyntaxException.getMessage()
#{2}: PatternSyntaxException.getPattern()
#{3}: PatternSyntaxException.getIndex()
DN_RegExp=Invalid regular expression: {0}
DN_org.netbeans.modules.java.hints.bugs.AnnotationsNotRuntime=Annotations without runtime Retention
DESC_org.netbeans.modules.java.hints.bugs.AnnotationsNotRuntime=Warns about reflective access to annotations with CLASS or SOURCE retentions
DN_org.netbeans.modules.java.hints.bugs.Regexp=Malformed regular expression
DESC_org.netbeans.modules.java.hints.bugs.Regexp=Warns about malformed regular expressions
DN_org.netbeans.modules.java.hints.bugs.Tiny.stringReplaceAllDot=String.replaceAll(".", )
DESC_org.netbeans.modules.java.hints.bugs.Tiny.stringReplaceAllDot=Finds occurrences of calls to String.replaceAll(".", $target), which would replace all characters of the source string with $target.
ERR_string-replace-all-dot=Call to String.replaceAll(".", $target) is probably undesired
FIX_string-replace-all-dot=Replace with call to String.replaceAll("\\.", $target)
DN_org.netbeans.modules.java.hints.bugs.CastVSInstanceOf=Incompatible cast/instanceof
DESC_org.netbeans.modules.java.hints.bugs.CastVSInstanceOf=Incompatible cast surrounded with incompatible instanceof
ERR_CastVSInstanceOf=Cast is incompatible with given instanceof
DN_org.netbeans.modules.java.hints.bugs.Tiny.newObject=Result of new Object ignored
DESC_org.netbeans.modules.java.hints.bugs.Tiny.newObject=Result of new Object ignored.
ERR_newObject=New instance ignored
DN_org.netbeans.modules.java.hints.bugs.Tiny.systemArrayCopy=Suspicious invocation of System.arraycopy
DESC_org.netbeans.modules.java.hints.bugs.Tiny.systemArrayCopy=Finds invocations of System.arraycopy with negative offsets, length or used on non-array objects.
ERR_system_arraycopy_notarray={0} not an instance of an array type
ERR_system_arraycopy_negative={0} is negative
DN_org.netbeans.modules.java.hints.bugs.Tiny.equalsNull=.equals(null)
DESC_org.netbeans.modules.java.hints.bugs.Tiny.equalsNull=Finds invocations of the Object.equals method with literal parameter 'null'.
ERR_equalsNull=Object equals "null" is never true
FIX_equalsNull=Use == instead of equals method
DN_org.netbeans.modules.java.hints.bugs.Tiny.resultSet=Incorrect column index in ResultSet
DESC_org.netbeans.modules.java.hints.bugs.Tiny.resultSet=Reports Iincorrect column indices passed to various methods of java.sql.ResultSet
ERR_ResultSetZero=Column index is zero, but ResultSet columns are counted from 1
ERR_ResultSetNegative=Column index is negative, but ResultSet columns are counted from 1
DN_org.netbeans.modules.java.hints.bugs.EqualsHint.arrayEquals=.equals on Array
DESC_org.netbeans.modules.java.hints.bugs.EqualsHint.arrayEquals=.equals on array
DN_org.netbeans.modules.java.hints.EqualsHint=.equals on Incompatible Types
DESC_org.netbeans.modules.java.hints.EqualsHint=.equals on incompatible types
FIX_ReplaceWithArraysEquals=Replace with Arrays.equals
FIX_ReplaceWithInstanceEquals=Replace with ==
ERR_ARRAY_EQUALS=.equals() called on array
ERR_INCOMPATIBLE_EQUALS=.equals() on incompatible types
LBL_Customizer_IncompatibleEquals=<html>Make Equals Hint consider &Erasures<br>of Compared Types
TP_Customizer_IncompatibleEquals=Equals hint decisions are based on erasures of compared types
HINT_SuspiciousCall=Suspicious call to {0}:\nExpected type {2}, actual type {1}
HINT_SuspiciousCallIncompatibleTypes=Suspicious call to {0}:\nGiven object cannot contain instances of {1} (expected {2})
DN_org.netbeans.modules.java.hints.bugs.CollectionRemove=Suspicious method call
DESC_org.netbeans.modules.java.hints.bugs.CollectionRemove=Warns about suspicious calls to Collection.remove/contains and Map.containsKey/containsValue/remove
LBL_CollectionRemoveCustomizer.warnForCastable=Warn Also for Castable Types
TP_CollectionRemoveCustomizer.warnForCastable=Warn Also for Castable Types