mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 00:29:48 +00:00
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:
parent
504258356e
commit
393b97a69e
|
@ -1307,56 +1307,6 @@ transforms:
|
||||||
- kind: 'rename'
|
- kind: 'rename'
|
||||||
newName: 'gzip'
|
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'"
|
- title: "Rename to 'shared'"
|
||||||
date: 2021-09-20
|
date: 2021-09-20
|
||||||
element:
|
element:
|
||||||
|
|
|
@ -131,11 +131,6 @@ void main() {
|
||||||
print(ZLibOption.STRATEGY_DEFAULT);
|
print(ZLibOption.STRATEGY_DEFAULT);
|
||||||
print(ZLIB);
|
print(ZLIB);
|
||||||
print(GZIP);
|
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.SHARED);
|
||||||
print(FileLock.EXCLUSIVE);
|
print(FileLock.EXCLUSIVE);
|
||||||
print(FileLock.BLOCKING_SHARED);
|
print(FileLock.BLOCKING_SHARED);
|
||||||
|
|
|
@ -131,11 +131,6 @@ void main() {
|
||||||
print(ZLibOption.strategyDefault);
|
print(ZLibOption.strategyDefault);
|
||||||
print(zlib);
|
print(zlib);
|
||||||
print(gzip);
|
print(gzip);
|
||||||
print(FileMode.read);
|
|
||||||
print(FileMode.write);
|
|
||||||
print(FileMode.append);
|
|
||||||
print(FileMode.writeOnly);
|
|
||||||
print(FileMode.writeOnlyAppend);
|
|
||||||
print(FileLock.shared);
|
print(FileLock.shared);
|
||||||
print(FileLock.exclusive);
|
print(FileLock.exclusive);
|
||||||
print(FileLock.blockingShared);
|
print(FileLock.blockingShared);
|
||||||
|
|
Loading…
Reference in a new issue