jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [1/2] jena git commit: Rewrite to use Java8 form.
Date Thu, 24 Sep 2015 13:17:40 GMT
Repository: jena
Updated Branches:
  refs/heads/master 802053f13 -> 4e5543153


Rewrite to use Java8 form.

Project: http://git-wip-us.apache.org/repos/asf/jena/repo
Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/23640224
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/23640224
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/23640224

Branch: refs/heads/master
Commit: 23640224bcfd7cabcc6212b435e0ca252cbd79e2
Parents: 802053f
Author: Andy Seaborne <andy@apache.org>
Authored: Thu Sep 24 14:16:11 2015 +0100
Committer: Andy Seaborne <andy@apache.org>
Committed: Thu Sep 24 14:16:11 2015 +0100

----------------------------------------------------------------------
 .../test/java/org/apache/jena/atlas/lib/TestAlarmClock.java   | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/23640224/jena-base/src/test/java/org/apache/jena/atlas/lib/TestAlarmClock.java
----------------------------------------------------------------------
diff --git a/jena-base/src/test/java/org/apache/jena/atlas/lib/TestAlarmClock.java b/jena-base/src/test/java/org/apache/jena/atlas/lib/TestAlarmClock.java
index 7d2fbfe..c89e4c7 100644
--- a/jena-base/src/test/java/org/apache/jena/atlas/lib/TestAlarmClock.java
+++ b/jena-base/src/test/java/org/apache/jena/atlas/lib/TestAlarmClock.java
@@ -27,12 +27,7 @@ import org.junit.Test ;
 
 public class TestAlarmClock extends BaseTest {
     AtomicInteger count    = new AtomicInteger(0) ;
-    Runnable      callback = new Runnable() {
-                               @Override
-                               public void run() {
-                                   count.getAndIncrement() ;
-                               }
-                           } ;
+    Runnable      callback = ()->count.getAndIncrement() ;
 
     @Test
     public void alarm_01() {


Mime
View raw message