commit 84dd0d8f9184189c8137608c76352264a03df22c
Author: Leszek Koltunski <leszek@distoretedandroid.org>
Date:   Tue Jun 21 11:06:03 2016 +0100

    Cleanup.

diff --git a/src/main/java/org/distorted/examples/effects2d/Effects2DActivity.java b/src/main/java/org/distorted/examples/effects2d/Effects2DActivity.java
index e75e3e3..56d30f8 100644
--- a/src/main/java/org/distorted/examples/effects2d/Effects2DActivity.java
+++ b/src/main/java/org/distorted/examples/effects2d/Effects2DActivity.java
@@ -240,7 +240,7 @@ public class Effects2DActivity extends Activity implements AdapterView.OnItemSel
     {
     if( id>=0 )  // we really added a new effect
       {
-      mAdapterID.add( new Long(id) );
+      mAdapterID.add(id);
       mAdapterID.notifyDataSetChanged();
 
       TableRow tr = new TableRow(this);
@@ -284,7 +284,7 @@ public class Effects2DActivity extends Activity implements AdapterView.OnItemSel
       {
       public void run()
         {
-        mAdapterID.remove( new Long(id) );
+        mAdapterID.remove(id);
         mAdapterID.notifyDataSetChanged();
 
         TableRow row = mMap.remove(id);
diff --git a/src/main/java/org/distorted/examples/effects2d/Effects2DSurfaceView.java b/src/main/java/org/distorted/examples/effects2d/Effects2DSurfaceView.java
index f853057..de7b4ac 100644
--- a/src/main/java/org/distorted/examples/effects2d/Effects2DSurfaceView.java
+++ b/src/main/java/org/distorted/examples/effects2d/Effects2DSurfaceView.java
@@ -139,7 +139,7 @@ public class Effects2DSurfaceView extends GLSurfaceView
     {
     int action = event.getAction();
     int x, y;
-    long id = -1;
+    long id;
 
     switch(action)
       {
