~ubuntu-branches/ubuntu/wily/electric/wily-proposed

« back to all changes in this revision

Viewing changes to com/sun/electric/tool/user/CellChangeJobs.java

  • Committer: Package Import Robot
  • Author(s): Markus Koschany
  • Date: 2015-08-12 13:15:54 UTC
  • mfrom: (1.2.7)
  • Revision ID: package-import@ubuntu.com-20150812131554-k4amekjrk0qw6cju
Tags: 9.06+dfsg-1
* Imported Upstream version 9.06+dfsg.
* Use --download-current-version for get-orig-source target.
* Declare compliance with Debian Policy 3.9.6.
* Vcs-Browser field: Switch to cgit.
* debian/control: Add all build-dependencies only to Build-Depends.
* Install ElectricIcon64x64.png icon. Drop debian/icons directory.
  Convert ElectricIcon64x64.png with imagemagick to electric.xpm at
  build-time.
* Update copyright years.

Show diffs side-by-side

added added

removed removed

Lines of Context:
92
92
                        // check cell usage once more
93
93
                        if (cell.isInUse("delete", false, true)) return false;
94
94
                        cell.kill();
 
95
                        System.out.println("Deleting " + cell);
95
96
                        return true;
96
97
                }
97
98
        }
201
202
 
202
203
                public boolean doIt() throws JobException
203
204
                {
204
 
//                      for(Cell cell : cells)
205
 
//                      {
206
 
//                              // Doesn't check cells in the same group
207
 
//                              // check cell usage once more
208
 
//                              if (cell.isInUse("delete", false, false))
209
 
//                                      return false;
210
 
//                      }
 
205
                        for(Cell cell : cells)
 
206
                        {
 
207
                                // check cell usage once more
 
208
                                if (cell.isInUse("delete", false, false))
 
209
                                        return false;
 
210
                        }
211
211
                        // Now real delete
212
212
                        for(Cell cell : cells)
213
213
                        {