= Styleguide updating
This commit is contained in:
+3
-3
@@ -31,14 +31,14 @@ if(bar)
|
|||||||
```
|
```
|
||||||
|
|
||||||
#### Naming
|
#### Naming
|
||||||
Class names and function names are `PascalCase`. Variable names are `camelCase`.
|
Class, Interface, and Enum names are `PascalCase`. Variable and function names are `camelCase`. Interfaces in particular must begin with a capital `I`.
|
||||||
|
|
||||||
```java
|
```java
|
||||||
public class MyClass
|
public class MyClass implements IClass
|
||||||
{
|
{
|
||||||
private Foo myVariable;
|
private Foo myVariable;
|
||||||
|
|
||||||
public function MyFuction()
|
public function myFuction()
|
||||||
{
|
{
|
||||||
// ...
|
// ...
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -30,7 +30,5 @@ public class BenchmarkInput
|
|||||||
key = raw.substring(0, whitespacePos).trim();
|
key = raw.substring(0, whitespacePos).trim();
|
||||||
value = raw.substring(whitespacePos).trim();
|
value = raw.substring(whitespacePos).trim();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user