| OLD | NEW |
| 1 // Copyright 2011 Google Inc. All Rights Reserved. | 1 // Copyright 2011 Google Inc. All Rights Reserved. |
| 2 // Copyright 1996 John Maloney and Mario Wolczko | 2 // Copyright 1996 John Maloney and Mario Wolczko |
| 3 // | 3 // |
| 4 // This file is part of GNU Smalltalk. | 4 // This file is part of GNU Smalltalk. |
| 5 // | 5 // |
| 6 // GNU Smalltalk is free software; you can redistribute it and/or modify it | 6 // GNU Smalltalk is free software; you can redistribute it and/or modify it |
| 7 // under the terms of the GNU General Public License as published by the Free | 7 // under the terms of the GNU General Public License as published by the Free |
| 8 // Software Foundation; either version 2, or (at your option) any later version. | 8 // Software Foundation; either version 2, or (at your option) any later version. |
| 9 // | 9 // |
| 10 // GNU Smalltalk is distributed in the hope that it will be useful, but WITHOUT | 10 // GNU Smalltalk is distributed in the hope that it will be useful, but WITHOUT |
| (...skipping 685 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 696 EditConstraint edit = new EditConstraint(v, PREFERRED); | 696 EditConstraint edit = new EditConstraint(v, PREFERRED); |
| 697 Plan plan = planner.extractPlanFromConstraints(<EditConstraint>[edit]); | 697 Plan plan = planner.extractPlanFromConstraints(<EditConstraint>[edit]); |
| 698 for (int i = 0; i < 10; i++) { | 698 for (int i = 0; i < 10; i++) { |
| 699 v.value = newValue; | 699 v.value = newValue; |
| 700 plan.execute(); | 700 plan.execute(); |
| 701 } | 701 } |
| 702 edit.destroyConstraint(); | 702 edit.destroyConstraint(); |
| 703 } | 703 } |
| 704 | 704 |
| 705 Planner planner; | 705 Planner planner; |
| OLD | NEW |