Skip to content

Commit cbeb3fe

Browse files
committed
Improved project README.
1 parent c86d7df commit cbeb3fe

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,17 @@
1-
# New features from Java 10 and 11
2-
Code examples to demonstrate the new features from Java 10 and 11 release.
1+
# Local Variable Type Inference
2+
Th local variable type inference is a feature released in Java 10, that enable to developers the possible to skip type declaration when implement local variables.
33

4-
Master:
54
[![Build Status](https://travis-ci.org/macedoj/java-new-features.svg?branch=master)](https://travis-ci.org/macedoj/java-new-features/branches)
65
[![Quality Gate](https://sonarcloud.io/api/project_badges/measure?project=macedoj_java-new-features&metric=alert_status)](https://sonarcloud.io/dashboard?id=macedoj_java-new-features)
76
[![Quality Gate](https://sonarcloud.io/api/project_badges/measure?project=macedoj_java-new-features&metric=coverage)](https://sonarcloud.io/dashboard?id=macedoj_java-new-features)
87
[![Quality Gate](https://sonarcloud.io/api/project_badges/measure?project=macedoj_java-new-features&metric=sqale_index)](https://sonarcloud.io/dashboard?id=macedoj_java-new-features)
98

109

11-
## New Feature - Local Variable Type Inference
10+
## Code examples
1211

1312
The <code>LocalVariableTypeInference.java</code> class have some code examples to demonstrate
1413
the Java 10 capability to infer the local variable type.
1514

16-
### Code exemples:
1715
```java
1816
var list = new ArrayList<String>(); // infers ArrayList<String>
1917
```

0 commit comments

Comments
 (0)