Skip to content

Commit 2974a72

Browse files
committed
readme++
readme++
1 parent a1289c6 commit 2974a72

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

README.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,13 @@
99
- [Singleton using 'enum'][EnumSingletonTest.md]
1010
- [How Remote Method Invocation(RMI) works][PowerServiceImpl.md]
1111

12-
#### JDK 7/8 language features
12+
#### JDK 7 language features
1313
- [Usage of 'MethodHandles'][MethodHandleTest.md]
14-
- [Performance comparison between MethodHandle, Reflection, LambdaMetafactory and Direct method call][TestMethodPerf.md]
1514
- [Diamond operator(<>)][DiamondOperatorTest.md]
15+
- [Remove compiler warning about generics variable arguments invocation using '@SafeVarargs' annotation](SafeVarargsAnnotationTest.md)
16+
17+
#### JDK 8 language features
18+
- [Performance comparison between MethodHandle, Reflection, LambdaMetafactory and Direct method call][TestMethodPerf.md]
1619
- [Interface with 'default' method][InterfaceWithMainTest.md]
1720
- [Interface with 'static' method][InterfaceWithStaticMethod.md]
1821
- [Class with 'default' method][ClassWithDefaultMethodUsage.md]
@@ -22,7 +25,6 @@
2225
- [Using 'Collections.sort' on Lambdas][ComparatorTest.md]
2326
- [Using 'List.forEach' on Lambdas][ForEachTest.md]
2427
- [List Streaming example][ListStreamTest.md]
25-
- [Remove compiler warning about generics vararg invocation using '@SafeVarargs' annotation](SafeVarargsAnnotationTest.md)
2628

2729
#### JDK 9 language features
2830
- [How 'jshell' (Read-Eval-Print Loop : JEP-222) works][JShellTest.md]

src/main/java/com/inbravo/jdk7/SafeVarargsAnnotationTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
*/
3333
public final class SafeVarargsAnnotationTest {
3434

35-
public static void main(final String... args) {
35+
public static final void main(final String... args) {
3636

3737
/* A list of integers */
3838
final List<Integer> listOfIntegers = new ArrayList<>();

0 commit comments

Comments
 (0)