diff --git a/.classpath b/.classpath
new file mode 100644
index 00000000..d171cd4c
--- /dev/null
+++ b/.classpath
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/.project b/.project
new file mode 100644
index 00000000..3b88b3b7
--- /dev/null
+++ b/.project
@@ -0,0 +1,17 @@
+
+
+ forked-java8-tutorial
+
+
+
+
+
+ org.eclipse.jdt.core.javabuilder
+
+
+
+
+
+ org.eclipse.jdt.core.javanature
+
+
diff --git a/src/com/winterbe/java8/samples/concurrent/Atomic1.java b/src/com/winterbe/java8/samples/concurrent/Atomic1.java
index 0f9d3cba..2994897d 100644
--- a/src/com/winterbe/java8/samples/concurrent/Atomic1.java
+++ b/src/com/winterbe/java8/samples/concurrent/Atomic1.java
@@ -9,6 +9,8 @@
* @author Benjamin Winterberg
*/
public class Atomic1 {
+
+ // Test comment
private static final int NUM_INCREMENTS = 1000;
@@ -65,6 +67,8 @@ private static void testIncrement() {
ConcurrentUtils.stop(executor);
System.out.format("Increment: Expected=%d; Is=%d\n", NUM_INCREMENTS, atomicInt.get());
+
+ // This is my 2nd comment.
}
}
diff --git a/src/com/winterbe/java8/samples/concurrent/CompletableFuture1.java b/src/com/winterbe/java8/samples/concurrent/CompletableFuture1.java
index 82be5d75..07d9b4df 100644
--- a/src/com/winterbe/java8/samples/concurrent/CompletableFuture1.java
+++ b/src/com/winterbe/java8/samples/concurrent/CompletableFuture1.java
@@ -5,6 +5,7 @@
/**
* @author Benjamin Winterberg
+ * Updated comment.
*/
public class CompletableFuture1 {
@@ -18,5 +19,9 @@ public static void main(String[] args) throws ExecutionException, InterruptedExc
.thenAccept(v -> System.out.println("done"));
}
+
+ public String process() {
+ return "Marko";
+ }
}