Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
W
wiki-java
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • 老徐
  • wiki-java
  • Wiki
  • java code specification

java code specification · Changes

Page history
ulindows deleted page: JavaCodeSpecification authored Jun 13, 2016 by 老徐's avatar 老徐
Show whitespace changes
Inline Side-by-side
Showing with 3 additions and 2 deletions
+3 -2
  • java-code-specification.md java-code-specification.md +3 -2
  • No files found.
java-code-specification.md
View page @ c29f6fbd
......@@ -167,6 +167,7 @@ do
* **5. 值操作符、比较操作符、算术操作符、逻辑操作符、位域操作符,如“=”、“+=” “>=”、“<=”、“+”、“*”、“%”、“&&”、“||”、“<<”、“^”和“?”等二元操作符的前后应当加空格。**
* **6. 一元操作符如“!”、“~”、“++”、“--”等前后都不加空格。**
* **7. 象“[]”、“.”这类操作符前后不加空格。**
&emsp;&emsp;示例,应该按照以下的格式书写:
```
void foo()
......@@ -174,14 +175,14 @@ void foo()
//…
}
```
&emsp;&esmp;或者:
&emsp;&emsp;或者:
```
if (0 == i)
{
//…
}
```
&emsp;&esmp;或者:
&emsp;&emsp;或者:
```
foo.bar
```
......
Clone repository
  • git configuration and simple use
  • Home
  • java code specification
  • maven environment configuration
  • shuidi js develope
  • ucs_project environment configuration