Chromium Code Reviews| Index: editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/cleanup/migration/Migrate_1M3_corelib_CleanUp.java |
| diff --git a/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/cleanup/migration/Migrate_1M3_corelib_CleanUp.java b/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/cleanup/migration/Migrate_1M3_corelib_CleanUp.java |
| index d589a516593a9101af68670971452e4575f5f5ca..bd931f0f813e4069d4c9319315fb14e6f824933d 100644 |
| --- a/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/cleanup/migration/Migrate_1M3_corelib_CleanUp.java |
| +++ b/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/cleanup/migration/Migrate_1M3_corelib_CleanUp.java |
| @@ -1,11 +1,11 @@ |
| /* |
| * Copyright (c) 2012, the Dart project authors. |
| - * |
| + * |
| * Licensed under the Eclipse Public License v1.0 (the "License"); you may not use this file except |
| * in compliance with the License. You may obtain a copy of the License at |
| - * |
| + * |
| * http://www.eclipse.org/legal/epl-v10.html |
| - * |
| + * |
| * Unless required by applicable law or agreed to in writing, software distributed under the License |
| * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express |
| * or implied. See the License for the specific language governing permissions and limitations under |
| @@ -60,7 +60,7 @@ import java.util.List; |
| /** |
| * In 1.0 M3 many change to the <code>Iterator</code>, <code>Iterable</code> and <code>Future</code> |
| * will be done. |
| - * |
| + * |
| * @coverage dart.editor.ui.cleanup |
| */ |
| public class Migrate_1M3_corelib_CleanUp extends AbstractMigrateCleanUp { |
| @@ -336,7 +336,7 @@ public class Migrate_1M3_corelib_CleanUp extends AbstractMigrateCleanUp { |
| } |
| } |
| } |
| - // new List(5) ---> new List.fixedLength(5) |
| + // new List(5) ---> new List(5) |
|
floitsch
2013/02/26 13:54:19
No.
This is a Cleanup. Leave the comment and coord
Lasse Reichstein Nielsen
2013/02/26 15:26:00
Reverted.
|
| if (element != null && element.getConstructorType().getName().equals("List") |
| && StringUtils.isEmpty(element.getName()) && args.size() == 1) { |
| DartExpression arg = args.get(0); |