Index: tools/release/version.dart |
diff --git a/tools/release/version.dart b/tools/release/version.dart |
index 7774e47553eb3a2f5f0e41edbba64c79c4035ca4..92ca6242e7178b5d9b51a44821c0cf0162447137 100644 |
--- a/tools/release/version.dart |
+++ b/tools/release/version.dart |
@@ -122,7 +122,7 @@ class Version { |
int getRevisionFromSvnInfo(String info) { |
if (info == null || info == '') return 0; |
var lines = info.split("\n"); |
- RegExp exp = new RegExp(r"Last Changed Rev: (\d*)"); |
+ RegExp exp = const RegExp(r"Last Changed Rev: (\d*)"); |
for (var line in lines) { |
if (exp.hasMatch(line)) { |
String revisionString = (exp.firstMatch(line).group(1)); |