| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 library input.transformer.log_file; | 5 library input.transformer.log_file; |
| 6 | 6 |
| 7 import 'dart:convert'; | 7 import 'dart:convert'; |
| 8 | 8 |
| 9 import 'package:analyzer/src/generated/java_engine.dart'; | 9 import 'package:analyzer/src/generated/java_engine.dart'; |
| 10 import 'package:logging/logging.dart'; | 10 import 'package:logging/logging.dart'; |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 while (index < line.length) { | 76 while (index < line.length) { |
| 77 int code = line.codeUnitAt(index); | 77 int code = line.codeUnitAt(index); |
| 78 if (code < ZERO || NINE < code) { | 78 if (code < ZERO || NINE < code) { |
| 79 return line.substring(0, index); | 79 return line.substring(0, index); |
| 80 } | 80 } |
| 81 ++index; | 81 ++index; |
| 82 } | 82 } |
| 83 return line; | 83 return line; |
| 84 } | 84 } |
| 85 } | 85 } |
| OLD | NEW |