[Issue 6466] New - Argo complains about underscore in package name
[email protected] Thu, 11 Jul 2013 12:11:48 -0700 (PDT)
| Newsgroups | gmane.comp.lang.uml.argouml.issues |
|---|---|
| Message-ID | <[email protected]> |
http://argouml.tigris.org/issues/show_bug.cgi?id=6466
Issue #|6466
Summary|Argo complains about underscore in package name
Component|argouml
Version|0.34
Platform|PC
URL|
OS/Version|Linux
Status|NEW
Status whiteboard|
Keywords|
Resolution|
Issue type|DEFECT
Priority|P3
Subcomponent|Other
Assigned to|linus
Reported by|chelmite
------- Additional comments from [email protected] Thu Jul 11 12:11:48 -0700 2013 -------
My project is called eca_model. A package name is an "identifier" in Java.
Section 3.8, Identifiers, of the Java language specification says:
The "Java letters" include uppercase and lowercase ASCII Latin letters A-Z
(\u0041-\u005a), and a-z (\u0061-\u007a), and, for historical reasons, the ASCII
underscore (_, or \u005f) and dollar sign ($, or \u0024). The $ character should
be used only in mechanically generated source code or, rarely, to access
pre-existing names on legacy systems.
Underscores are, therefore, allowable, and part of the coding style here.
Argo should not pass judgement on coding styles, or there should be an option to
specify the coding style and then not complain.
Argo's Medium-Priority message:
Normally package names are written in all lower case, and should not contain
symbols like periods. Double colons are used to indicate "nested" packages, and
should hence not occur in a package name either. The name 'eca_model' is
unconventional because it is not all lower case without symbols.
'eca_model' does not contain periods or colons (semi- or full), and is more
readable than 'ecamodel'. Readability is a goal, not something to be warned about.
------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=448&dsMessageId=3060275
To unsubscribe from this list, e-mail: [[email protected]].
Please do not reply to this mail. Instead, add your comments in the issue.