<dd id="sga4y"><optgroup id="sga4y"></optgroup></dd>
<nav id="sga4y"><code id="sga4y"></code></nav>
  • <optgroup id="sga4y"></optgroup>

    Poor Style: Identifier Contains Dollar Symbol ($)

    ABSTRACT

    建議不要使用美元符號($)作為標識符。

    EXPLANATION

    在 Java 語言規范的第 3.8 節中論述了美元符號,但僅將它作為用于機器產生的源代碼中的標識符。

    例:


    int un$afe;

    REFERENCES

    [1] Standards Mapping - Common Weakness Enumeration - (CWE) CWE ID 398

    [2] J. Gosling, B. Joy, G. Steele, G. Bracha The Java Language Specification, Second Edition Addison-Wesley


    Copyright 2013 Fortify Software - All rights reserved.
    (Generated from version 2013.1.1.0008 of the Fortify Secure Coding Rulepacks)
    desc.structural.java.poor_style_identifier_contains_dollar_symbol

    97av