= Styleguide updating

This commit is contained in:
Matthew Cech
2019-06-24 23:43:25 -07:00
parent 227bf29b10
commit 916e7087b6
2 changed files with 3 additions and 5 deletions
+3 -3
View File
@@ -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()
{ {
// ... // ...
} }
-2
View File
@@ -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();
} }
} }