Remove duplicated FileMode fixes

These were unnecessarily added twice when I finished out the rest of the
constant rename fixes, but had already been implemented as the proof of
concept for core library fixes.

Change-Id: I4c5bb018ad344ccb4c393c656fed47aae2df4d16
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/214066
Auto-Submit: Nate Bosch <nbosch@google.com>
Commit-Queue: Lasse R.H. Nielsen <lrn@google.com>
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
This commit is contained in:
Nate Bosch 2021-10-11 13:58:43 +00:00 committed by commit-bot@chromium.org
parent 504258356e
commit 393b97a69e
3 changed files with 0 additions and 60 deletions

View file

@ -1307,56 +1307,6 @@ transforms:
- kind: 'rename'
newName: 'gzip'
- title: "Rename to 'read'"
date: 2021-09-20
element:
uris: [ 'dart:io' ]
field: 'READ'
inClass: 'FileMode'
changes:
- kind: 'rename'
newName: 'read'
- title: "Rename to 'write'"
date: 2021-09-20
element:
uris: [ 'dart:io' ]
field: 'WRITE'
inClass: 'FileMode'
changes:
- kind: 'rename'
newName: 'write'
- title: "Rename to 'append'"
date: 2021-09-20
element:
uris: [ 'dart:io' ]
field: 'APPEND'
inClass: 'FileMode'
changes:
- kind: 'rename'
newName: 'append'
- title: "Rename to 'writeOnly'"
date: 2021-09-20
element:
uris: [ 'dart:io' ]
field: 'WRITE_ONLY'
inClass: 'FileMode'
changes:
- kind: 'rename'
newName: 'writeOnly'
- title: "Rename to 'writeOnlyAppend'"
date: 2021-09-20
element:
uris: [ 'dart:io' ]
field: 'WRITE_ONLY_APPEND'
inClass: 'FileMode'
changes:
- kind: 'rename'
newName: 'writeOnlyAppend'
- title: "Rename to 'shared'"
date: 2021-09-20
element:

View file

@ -131,11 +131,6 @@ void main() {
print(ZLibOption.STRATEGY_DEFAULT);
print(ZLIB);
print(GZIP);
print(FileMode.READ);
print(FileMode.WRITE);
print(FileMode.APPEND);
print(FileMode.WRITE_ONLY);
print(FileMode.WRITE_ONLY_APPEND);
print(FileLock.SHARED);
print(FileLock.EXCLUSIVE);
print(FileLock.BLOCKING_SHARED);

View file

@ -131,11 +131,6 @@ void main() {
print(ZLibOption.strategyDefault);
print(zlib);
print(gzip);
print(FileMode.read);
print(FileMode.write);
print(FileMode.append);
print(FileMode.writeOnly);
print(FileMode.writeOnlyAppend);
print(FileLock.shared);
print(FileLock.exclusive);
print(FileLock.blockingShared);