PJF16

Untitled

Jun 12th, 2012
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.              o=0;
  2.                  
  3.                
  4.                   String [] lines = null;
  5.               while (sZeile [o]!= null) {
  6.                lines = sZeile[o].split ("\n");
  7.                o++;
  8.               }
  9.                  
  10.                
  11.                
  12.  
  13.                for(String line : lines)
  14.                 {
  15.                
  16.                     if( line.endsWith("swap") )
  17.                     {
  18.                     if (partition.contains ("mmcblk1p1"))
  19.                             {
  20.                                 partition="mmcblk1p1";
  21.  
  22.                             }
  23.  
  24.                     }
  25.                
  26.                 }
  27.                  
  28.              return partition;
  29.         }
Advertisement
Add Comment
Please, Sign In to add comment