| DESC_containsForIndexOf=\u67e5\u627e\u53ef\u4ee5\u66ff\u6362\u4e3a String.contains \u7684 String.indexOf \u7684\u7528\u6cd5 |
| DESC_IteratorToFor=\u4f7f\u7528\u5bf9\u5e94\u7684 for \u5faa\u73af\u66ff\u6362\u8fed\u4ee3\u5668\u7684\u7b80\u5355\u4f7f\u7528\u3002 |
| DN_containsForIndexOf=String.indexOf \u53ef\u4ee5\u66ff\u6362\u4e3a String.contains |
| DN_IteratorToFor=\u4f7f\u7528 JDK 5 for \u5faa\u73af |
| # 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]" |
| # |
| # Contributor(s): |
| # |
| # The Original Software is NetBeans. The Initial Developer of the Original |
| # Software is Sun Microsystems, Inc. Portions Copyright 2010 Sun |
| # Microsystems, Inc. All Rights Reserved. |
| # |
| # 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. |
| DN_org.netbeans.modules.java.hints.jdk.ThrowableInitCause=\u4e0d\u5fc5\u8981\u7684 Throwable.initCause |
| DESC_org.netbeans.modules.java.hints.jdk.ThrowableInitCause=\u67e5\u627e\u53ef\u66ff\u6362\u4e3a\u7b80\u5355\u6784\u9020\u51fd\u6570\u8c03\u7528\u7684 Throwable.initCause \u8c03\u7528\u3002\u5982\u679c\u53d6\u6d88\u9009\u4e2d\u201c\u4ece\u4e0d\u66f4\u6539 getMessage() \u7684\u7ed3\u679c\u201d\u590d\u9009\u6846, <code>(IllegalStateException) new IllegalStateException().initCause(ex)</code> \u5c06\u91cd\u5199\u4e3a <code>new IllegalStateException(ex)</code>, \u4ece\u800c\u66f4\u6539 getMessage() \u7684\u503c\u3002\u5982\u679c\u9009\u4e2d\u8be5\u590d\u9009\u6846, \u4ee3\u7801\u5c06\u53d8\u4e3a <code>new IllegalStateException(null, ex)</code>\u3002\u7c7b\u4f3c\u7684\u89c4\u5219\u540c\u6837\u9002\u7528\u4e8e\u901a\u8fc7\u539f\u56e0\u7684 <code>getMessage()</code> \u6216 <code>getLocalizedMessage()</code> \u521b\u5efa\u5f02\u5e38\u9519\u8bef\u7684\u60c5\u51b5\u3002 |
| ERR_AnnotationProcessors.overridingGetSupportedAnnotations=\u5df2\u8986\u76d6 AbstractProcessor.getSupportedAnnotationTypes(), \u53ef\u80fd\u4f1a\u5728\u5f00\u53d1\u671f\u95f4\u5bfc\u81f4\u6027\u80fd\u95ee\u9898 |
| ERR_containsForIndexOf=String.indexOf \u53ef\u4ee5\u66ff\u6362\u4e3a String.contains |
| ERR_IteratorToFor=\u4e3a\u7b80\u5355\u5faa\u73af\u4f7f\u7528\u8fed\u4ee3\u5668 |
| ERR_IteratorToForArray=\u4f7f\u7528\u589e\u5f3a\u7684 for \u5faa\u73af\u5728\u6570\u7ec4\u4e0a\u8fdb\u884c\u8fed\u4ee3 |
| # {0} - name of primitive class |
| FIX_ChangeBoxingToTypecast=\u8f6c\u6362\u4e3a{0}\u800c\u4e0d\u662f\u88c5\u7bb1 |
| FIX_ChangeTryToARM=\u5c06\u8d44\u6e90\u6dfb\u52a0\u5230\u5c01\u95ed try |
| FIX_containsForIndexOf=String.indexOf \u53ef\u4ee5\u66ff\u6362\u4e3a String.contains |
| FIX_ConvertToLambda=\u4f7f\u7528 lambda \u8868\u8fbe\u5f0f |
| FIX_ConvertToMemberReference=\u4f7f\u7528\u6210\u5458\u5f15\u7528 |
| FIX_IteratorToFor=\u8f6c\u6362\u4e3a for \u5faa\u73af |
| FIX_MergeTryResources=\u6dfb\u52a0\u5230\u5c01\u95ed try-with-resources |
| FIX_ThrowableInitCause=\u4f7f\u7528\u5f02\u5e38\u9519\u8bef\u6784\u9020\u51fd\u6570 |
| ERR_ThrowableInitCause=\u65e0\u9700\u4f7f\u7528 Throwable.initCause |
| # {0} - name of boxing class |
| FIX_UnnecessaryBoxing1=\u5220\u9664\u65b0\u7684{0} |
| # {0} - name of boxing class |
| FIX_UnnecessaryBoxing2=\u5220\u9664 {0}.valueOf |
| # {0} - the type-specific unboxing method name |
| FIX_UnnecessaryUnboxing=\u5220\u9664 .{0}() |
| # template for generated label names, must form a valid Java identifiers |
| # {0} - unique integer |
| LABEL_OuterGeneratedLabel=OUTER_{0} |
| # initial label for breaking out of the innermost loop |
| LABEL_OuterGeneratedLabelInitial=OUTER |
| LBL_org.netbeans.modules.java.hints.jdk.ThrowableInitCause.STRICT_KEY=\u59cb\u7ec8\u4fdd\u7559 getMessage() \u7684\u7ed3\u679c |
| MSG_AnonymousConvertibleToLambda=\u53ef\u5c06\u6b64\u533f\u540d\u5185\u90e8\u7c7b\u521b\u5efa\u8f6c\u6362\u4e3a lambda \u8868\u8fbe\u5f0f\u3002 |
| # {0} - string literal value |
| TEXT_ChainedIfContainsSameValues=\u5b57\u7b26\u4e32\u6bd4\u8f83\u4e2d\u4f7f\u7528\u7684\u5b57\u7b26\u4e32\u503c `{0}'' \u5728\u94fe\u63a5\u7684 if-else-if \u8bed\u53e5\u4e2d\u63d0\u524d\u51fa\u73b0\u3002\u6b64\u6761\u4ef6\u6c38\u4e0d\u8ba1\u7b97\u4e3a true |
| TEXT_ConvertToSwitch=\u8f6c\u6362\u4e3a switch |
| # {0} - name of boxing class |
| TEXT_UnnecessaryBoxing=\u4e0d\u5fc5\u8981\u7684\u88c5\u7bb1\u5230{0} |
| TEXT_UnnecessaryUnboxing=\u4e0d\u5fc5\u8981\u7684\u62c6\u7bb1 |
| TP_org.netbeans.modules.java.hints.jdk.ThrowableInitCause.STRICT_KEY=\u59cb\u7ec8\u4fdd\u7559 getMessage() \u7684\u7ed3\u679c |
| |
| DN_org.netbeans.modules.java.hints.jdk.ConvertToStringSwitch=\u5c3d\u53ef\u80fd\u4f7f\u7528 switch over \u5b57\u7b26\u4e32\u3002 |
| DESC_org.netbeans.modules.java.hints.jdk.ConvertToStringSwitch=\u6807\u8bb0\u53ef\u8f6c\u6362\u4e3a switch over \u5b57\u7b26\u4e32\u7684 if \u5c42\u53e0\u3002 |
| ERR_ConvertToStringSwitch=\u8f6c\u6362\u4e3a switch over \u5b57\u7b26\u4e32 |
| FIX_ConvertToStringSwitch=\u8f6c\u6362\u4e3a switch over \u5b57\u7b26\u4e32 |
| LBL_org.netbeans.modules.java.hints.jdk.ConvertToStringSwitch.KEY_ALSO_EQ=\u8fd8\u8003\u8651\u4f7f\u7528 == \u8fd0\u7b97\u7b26\u7684\u5b57\u7b26\u4e32\u6bd4\u8f83 |
| TP_org.netbeans.modules.java.hints.jdk.ConvertToStringSwitch.KEY_ALSO_EQ=\u662f\u5426\u5e94\u5c06\u4f7f\u7528 == \u8fd0\u7b97\u7b26\u7684\u5b57\u7b26\u4e32\u6bd4\u8f83\u89c6\u4e3a\u5b57\u7b26\u4e32\u6bd4\u8f83\u3002 |
| |
| DN_org.netbeans.modules.java.hints.jdk.JoinCatches=\u4f7f\u7528 multicatch \u8fde\u63a5 catch \u90e8\u5206 |
| DESC_org.netbeans.modules.java.hints.jdk.JoinCatches=\u4f7f\u7528 multicatch \u8fde\u63a5 catch \u90e8\u5206 |
| ERR_JoinCatches=\u53ef\u4ee5\u66ff\u6362\u4e3a multicatch |
| FIX_JoinCatches=\u66ff\u6362\u4e3a multicatch |
| |
| DN_org.netbeans.modules.java.hints.jdk.UseSpecificCatch=\u4f7f\u7528\u7279\u5b9a\u7684 catch |
| DESC_org.netbeans.modules.java.hints.jdk.UseSpecificCatch=\u5c06 catch (Throwable) \u6216 catch (Exception) \u8f6c\u6362\u4e3a multicatch (\u5f53 java \u6e90\u4ee3\u7801\u7ea7\u522b\u4e3a 7 \u53ca\u66f4\u9ad8\u7ea7\u522b\u65f6) \u6216\u51e0\u4e2a catch \u5b50\u53e5 (\u9002\u7528\u4e8e\u65e9\u671f\u7684 Java \u5e73\u53f0) \u4ee5\u6355\u83b7 try \u4e3b\u4f53\u629b\u51fa\u7684\u5f02\u5e38\u9519\u8bef\u3002\u53ef\u4ee5\u914d\u7f6e\u53d7\u76d1\u89c6\u7684\u5f02\u5e38\u9519\u8bef\u7c7b\u578b; \u5fc5\u987b\u4f7f\u7528\u5168\u9650\u5b9a\u540d\u79f0\u3002 |
| ERR_UseSpecificCatch=\u53ef\u4ee5\u66ff\u6362\u4e3a multicatch \u6216\u51e0\u4e2a catch \u5b50\u53e5\u4ee5\u6355\u83b7\u7279\u5b9a\u5f02\u5e38\u9519\u8bef |
| FIX_UseSpecificCatch=\u66ff\u6362\u4e3a multicatch \u4ee5\u6355\u83b7\u7279\u5b9a\u7684\u5f02\u5e38\u9519\u8bef |
| FIX_UseSpecificCatchSplit=\u751f\u6210\u7279\u5b9a\u5f02\u5e38\u9519\u8bef\u7684 catch \u5904\u7406\u7a0b\u5e8f |
| FIX_UseSpecificCatchSingle=\u4f7f\u7528 catch({0}) \u66ff\u6362 |
| |
| DN_org.netbeans.modules.java.hints.jdk.ConvertToARM=\u8f6c\u6362\u4e3a try-with-resources |
| DESC_org.netbeans.modules.java.hints.jdk.ConvertToARM=\u5c06 try finally \u5757\u8f6c\u6362\u4e3a try-with-resources |
| TXT_ConvertToARM=\u8f6c\u6362\u4e3a try-with-resources |
| |
| DN_Javac_canUseDiamond=\u53ef\u4ee5\u4f7f\u7528\u83f1\u5f62 |
| DESC_Javac_canUseDiamond=\u5728\u53ef\u4ee5\u4f7f\u7528 JDK 7 \u4e2d\u83f1\u5f62\u8fd0\u7b97\u7b26\u800c\u4e0d\u662f\u663e\u5f0f\u7c7b\u578b\u53c2\u6570\u7684\u4f4d\u7f6e\u663e\u793a\u8b66\u544a |
| FIX_ConvertToDiamond=\u4f7f\u7528\u83f1\u5f62\u63a8\u65ad |
| ConvertToDiamondBulkHintPanel.jLabel1.text=\u5728\u4ee5\u4e0b\u4f4d\u7f6e\u7684\u65b0\u5b9e\u4f8b\u8868\u8fbe\u5f0f\u4e2d\u4f7f\u7528\u83f1\u5f62\u8fd0\u7b97\u7b26: |
| ConvertToDiamondBulkHintPanel.initializer.text=\u53d8\u91cf\u521d\u59cb\u5316\u7a0b\u5e8f |
| ConvertToDiamondBulkHintPanel.assignment.text=\u8d4b\u503c |
| ConvertToDiamondBulkHintPanel.returnStatement.text=return \u8bed\u53e5 |
| ConvertToDiamondBulkHintPanel.other.text=\u5176\u4ed6 |
| ConvertToDiamondBulkHintPanel.argument.text=\u65b9\u6cd5\u53c2\u6570 |
| |
| DN_org.netbeans.modules.java.hints.jdk.AddUnderscores=\u6dfb\u52a0\u4e0b\u5212\u7ebf |
| DESC_org.netbeans.modules.java.hints.jdk.AddUnderscores=\u5df2\u63d0\u8bae\u5411\u6574\u578b\u6587\u5b57\u6dfb\u52a0\u4e0b\u5212\u7ebf\u4ee5\u63d0\u9ad8\u5176\u53ef\u8bfb\u6027 |
| ERR_org.netbeans.modules.java.hints.jdk.AddUnderscores=\u53ef\u4f7f\u7528\u4e0b\u5212\u7ebf\u63d0\u9ad8\u53ef\u8bfb\u6027 |
| FIX_org.netbeans.modules.java.hints.jdk.AddUnderscores=\u5c06\u6587\u5b57\u66f4\u6539\u4e3a: {0} |
| AddUnderscoresPanel.jLabel1.text=\u4e8c\u8fdb\u5236(&B): |
| AddUnderscoresPanel.jLabel3.text=\u5341\u516d\u8fdb\u5236(&H): |
| AddUnderscoresPanel.jLabel2.text=\u5341\u8fdb\u5236(&D): |
| AddUnderscoresPanel.replaceExisting.text=\u540c\u65f6\u4f7f\u7528\u4e0b\u5212\u7ebf\u53d8\u6362\u6587\u5b57(&A) |
| |
| DN_AnnotationProcessors.overridingGetSupportedAnnotations=\u5df2\u8986\u76d6 AbstractProcessor.getSupportedAnnotationTypes() |
| DESC_AnnotationProcessors.overridingGetSupportedAnnotations=\u8986\u76d6 Processor.getSupportedAnnotationTypes() \u53ef\u80fd\u4f1a\u5728\u5f00\u53d1\u671f\u95f4\u5bfc\u81f4\u4e0d\u5fc5\u8981\u7684\u7c7b\u52a0\u8f7d, \u5e76\u53ef\u80fd\u4f1a\u59a8\u788d\u91cd\u8981\u4f18\u5316\u3002\u8bf7\u8003\u8651\u4f7f\u7528 @javax.annotation.processing.SupportedAnnotationTypes |
| |
| DN_Javac_canUseLambda=\u8f6c\u6362\u4e3a Lambda \u6216\u6210\u5458\u5f15\u7528 |
| DESC_Javac_canUseLambda=\u5c06\u533f\u540d\u5185\u90e8\u7c7b\u8f6c\u6362\u4e3a lambda \u8868\u8fbe\u5f0f\u6216\u6210\u5458\u5f15\u7528 |
| LBL_Javac_canUseLambda_preferMemberReferences=\u5c3d\u91cf\u4f7f\u7528\u6210\u5458\u5f15\u7528 |
| TP_Javac_canUseLambda_preferMemberReferences=\u5c3d\u91cf\u5148\u4f7f\u7528\u6210\u5458\u5f15\u7528\u518d\u4f7f\u7528 lambda \u8868\u8fbe\u5f0f |
| UseSpecificCatchCustomizer.btnRemoveGeneric.text=\u5220\u9664 |
| UseSpecificCatchCustomizer.lblGenericList.text=\u4e00\u822c\u5f02\u5e38\u9519\u8bef\u7c7b\u578b: |
| UseSpecificCatchCustomizer.btnAddGeneric.text=\u6dfb\u52a0 |
| |
| |
| DN_UnnecessaryBoxing=\u4e0d\u5fc5\u8981\u7684\u88c5\u7bb1 |
| DESC_UnnecessaryBoxing=\u5728 JDK 5+ \u4e2d\u65e0\u9700\u4f7f\u7528 <b>new Integer(x)</b> \u6216 <b>Integer.valueOf(x)</b> \u7b49\u663e\u5f0f\u88c5\u7bb1\u3002\u6b64\u63d0\u793a\u68c0\u6d4b\u5230\u8fd9\u7c7b\u60c5\u51b5, \u5e76\u5efa\u8bae\u5220\u9664\u88c5\u7bb1\u8c03\u7528\u3002 |
| DN_UnnecessaryUnboxing=\u4e0d\u5fc5\u8981\u7684\u62c6\u7bb1 |
| DESC_UnnecessaryUnboxing=\u5728 JDK 5+ \u4e0b\u65e0\u9700\u4f7f\u7528 <b>x.intValue()</b> \u7b49\u663e\u5f0f\u62c6\u7bb1\u3002\u6b64\u63d0\u793a\u627e\u5230\u6b64\u7c7b\u8c03\u7528\u5e76\u5efa\u8bae\u5220\u9664\u3002 |
| |
| |
| OPTNAME_PreferCastsToBoxing=\u9996\u9009\u7c7b\u578b\u8f6c\u6362\u4e3a\u88c5\u7bb1 |
| OPTDESC_PreferCastsToBoxing=\u5728\u9700\u8981\u663e\u5f0f\u66f4\u6539\u503c\u7c7b\u578b\u65f6, \u9996\u9009\u7c7b\u578b\u8f6c\u6362 (\u7531\u7f16\u8bd1\u5668\u5b8c\u6210\u9690\u5f0f\u88c5\u7bb1) \u4e3a\u624b\u52a8\u88c5\u7bb1\u3002 |
| LBL_org.netbeans.modules.java.hints.jdk.ConvertToStringSwitch.KEY_THRESHOLD=\u6700\u5c0f\u5206\u652f\u8ba1\u6570 |
| TP_org.netbeans.modules.java.hints.jdk.ConvertToStringSwitch.KEY_THRESHOLD=\u4ec5\u5728 if \u8bed\u53e5\u94fe\u5305\u542b\u81f3\u5c11\u8be5\u6570\u91cf\u7684\u5206\u652f\u65f6\u624d\u663e\u793a\u63d0\u793a |
| OPT_ConvertIfToSwitch_EmptyDefault=\u751f\u6210\u7a7a\u9ed8\u8ba4\u503c |
| DESC_ConvertIfToSwitch_EmptyDefault=\u5982\u679c\u9009\u4e2d, \u5373\u4f7f\u6ca1\u6709\u6700\u7ec8\u7684 `else'' \u63d0\u793a\u4e5f\u5c06\u751f\u6210\u7a7a\u9ed8\u8ba4\u503c |
| |