commit cc2979e314d0aed4cfd35fa7ad69ce61e9776ce6
Author: Leszek Koltunski <leszek@distoretedandroid.org>
Date:   Thu Feb 16 16:43:48 2017 +0000

    Minor

diff --git a/src/main/java/org/distorted/library/DistortedSurface.java b/src/main/java/org/distorted/library/DistortedSurface.java
index ed927aa..0c20ada 100644
--- a/src/main/java/org/distorted/library/DistortedSurface.java
+++ b/src/main/java/org/distorted/library/DistortedSurface.java
@@ -58,7 +58,7 @@ abstract class DistortedSurface
 
   private static boolean mToDo = false;
   private static LinkedList<DistortedSurface> mDoneList = new LinkedList<>();
-  private static HashMap<Long,Job> mToDoList = new HashMap<>();
+  private static HashMap<Long,Job> mToDoMap = new HashMap<>();
   private static long mNextClientID = 0;
   private static long mNextSystemID = 0;
 
@@ -84,9 +84,9 @@ abstract class DistortedSurface
       Job job;
       DistortedSurface surface;
 
-      for(Long key: mToDoList.keySet())
+      for(Long key: mToDoMap.keySet())
         {
-        job = mToDoList.get(key);
+        job = mToDoMap.get(key);
         surface = job.surface;
 
         android.util.Log.d("SURFACE", "  ---> need to "+(job.action==JOB_CREATE ? "create":"delete")+" surfaceID="+surface.getID() );
@@ -102,7 +102,7 @@ abstract class DistortedSurface
           }
         }
 
-      mToDoList.clear();
+      mToDoMap.clear();
       mToDo = false;
       }
     }
@@ -114,9 +114,9 @@ abstract class DistortedSurface
     Job job;
     DistortedSurface surface;
 
-    for(Long key: mToDoList.keySet())
+    for(Long key: mToDoMap.keySet())
       {
-      job = mToDoList.get(key);
+      job = mToDoMap.get(key);
 
       if( job.surface.mType==TYPE_SYST )
         {
@@ -124,7 +124,7 @@ abstract class DistortedSurface
         }
       }
 
-    mToDoList.clear();
+    mToDoMap.clear();
 
     int num = mDoneList.size();
 
@@ -134,7 +134,7 @@ abstract class DistortedSurface
 
       if( surface.mType==TYPE_SYST )
         {
-        mToDoList.put(surface.getID(), surface.new Job(surface,JOB_CREATE) );
+        mToDoMap.put(surface.getID(), surface.new Job(surface,JOB_CREATE) );
         surface.recreate();
         }
       }
@@ -164,9 +164,9 @@ abstract class DistortedSurface
     Job job;
     int i=0;
 
-    for(Long key: mToDoList.keySet())
+    for(Long key: mToDoMap.keySet())
       {
-      job = mToDoList.get(key);
+      job = mToDoMap.get(key);
       job.surface.print(i++, job.action==JOB_CREATE ? " create":" delete");
       }
     }
@@ -208,7 +208,7 @@ abstract class DistortedSurface
 
     if( create!=DONT_CREATE )
       {
-      mToDoList.put(mID, new Job(this,JOB_CREATE) );
+      mToDoMap.put(mID, new Job(this,JOB_CREATE) );
       mToDo = true;
       }
     }
@@ -218,7 +218,7 @@ abstract class DistortedSurface
   synchronized void markForCreation()
     {
     mDoneList.remove(this);
-    mToDoList.put(mID, new Job(this,JOB_CREATE) );
+    mToDoMap.put(mID, new Job(this,JOB_CREATE) );
     mToDo = true;
     }
 
@@ -231,7 +231,7 @@ abstract class DistortedSurface
   synchronized public void markForDeletion()
     {
     mDoneList.remove(this);
-    mToDoList.put(mID, new Job(this,JOB_DELETE) );
+    mToDoMap.put(mID, new Job(this,JOB_DELETE) );
     mToDo = true;
     }
 
