diff --git a/application.properties b/application.properties new file mode 100644 index 00000000..fdb8b6a5 --- /dev/null +++ b/application.properties @@ -0,0 +1,2 @@ +server.port =8080 +# devendra add a new line in this file \ No newline at end of file diff --git a/deva.java b/deva.java new file mode 100644 index 00000000..c2bc5868 --- /dev/null +++ b/deva.java @@ -0,0 +1,5 @@ +public class deva { + // devnedra made a file + // devendra add a new line to the file + // server.port = 8080 +} diff --git a/src/com/winterbe/java8/samples/concurrent/application.properties b/src/com/winterbe/java8/samples/concurrent/application.properties new file mode 100644 index 00000000..d2ed1364 --- /dev/null +++ b/src/com/winterbe/java8/samples/concurrent/application.properties @@ -0,0 +1,5 @@ + + +server.port =8080 +# devendra made a comment +server.timeout =2000 \ No newline at end of file diff --git a/src/com/winterbe/java8/samples/lambda/Lambda1.java b/src/com/winterbe/java8/samples/lambda/Lambda1.java index 5bb5b658..e442a553 100644 --- a/src/com/winterbe/java8/samples/lambda/Lambda1.java +++ b/src/com/winterbe/java8/samples/lambda/Lambda1.java @@ -20,7 +20,8 @@ public int compare(String a, String b) { return b.compareTo(a); } }); - + + // Devendra made a change Collections.sort(names, (String a, String b) -> { return b.compareTo(a); }); diff --git a/src/com/winterbe/java8/samples/lambda/Lambda2.java b/src/com/winterbe/java8/samples/lambda/Lambda2.java index 71e25ec7..37ffc9b6 100644 --- a/src/com/winterbe/java8/samples/lambda/Lambda2.java +++ b/src/com/winterbe/java8/samples/lambda/Lambda2.java @@ -19,7 +19,7 @@ String startsWith(String s) { interface PersonFactory<P extends Person> { P create(String firstName, String lastName); } - +// Devendra made a comment public static void main(String[] args) { Converter<String, Integer> integerConverter1 = (from) -> Integer.valueOf(from); Integer converted1 = integerConverter1.convert("123");