Project

General

Profile

« Previous | Next » 

Revision 84dd0d8f

Added by Leszek Koltunski almost 8 years ago

Cleanup.

View differences:

src/main/java/org/distorted/examples/effects2d/Effects2DActivity.java
240 240
    {
241 241
    if( id>=0 )  // we really added a new effect
242 242
      {
243
      mAdapterID.add( new Long(id) );
243
      mAdapterID.add(id);
244 244
      mAdapterID.notifyDataSetChanged();
245 245

  
246 246
      TableRow tr = new TableRow(this);
......
284 284
      {
285 285
      public void run()
286 286
        {
287
        mAdapterID.remove( new Long(id) );
287
        mAdapterID.remove(id);
288 288
        mAdapterID.notifyDataSetChanged();
289 289

  
290 290
        TableRow row = mMap.remove(id);
src/main/java/org/distorted/examples/effects2d/Effects2DSurfaceView.java
139 139
    {
140 140
    int action = event.getAction();
141 141
    int x, y;
142
    long id = -1;
142
    long id;
143 143

  
144 144
    switch(action)
145 145
      {

Also available in: Unified diff