Commits

Tim Vernum committed d9334dc

Add new func test

Comments (0)

Files changed (3)

convert/source/java/samples/sample/WikiSamples.java

 
 public class WikiSamples
 {
-
     public static void main(String[] args)
     {
         Runnable runnable = () -> {

convert/source/resource/test/functional/006-SingleArgLambda.java

+package foo;
+
+import java.util.concurrent.Callable;
+
+public class Foo {
+
+  public void foo() 
+  {
+      javax.swing.event.ChangeListener listener = event -> { } ;
+  }
+
+}

convert/source/resource/test/functional/006-SingleArgLambda.java.convert

+package foo;
+import java.util.concurrent.Callable;
+public class Foo {
+  public void foo() {
+    javax.swing.event.ChangeListener listener = new javax.swing.event.ChangeListener() {
+      public void stateChanged(javax.swing.event.ChangeEvent event) {
+      }
+    }
+;
+  }
+}