Commit 33e1740
Replace
Use `hasScheme` in place of comparing against the empty string, and
`isScheme` to compare against all other schemes.
TEST=No behavior changes.
Change-Id: Ifc9fd13c6cf37933ebd4a754c4b500dedbcb291b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/231185
Reviewed-by: Kevin Moore <[email protected]>
Commit-Queue: Nate Bosch <[email protected]>Uri.scheme == with Uri.isScheme
1 parent 7282a40 commit 33e1740
File tree
161 files changed
+378
-358
lines changed- pkg
- _js_interop_checks/lib
- analysis_server/lib/src
- computer
- domains/completion
- services/correction
- dart
- analyzer_cli/lib/src
- analyzer
- lib/src
- file_system
- generated
- source
- workspace
- test
- generated
- src/dart/analysis
- build_integration/lib/file_system
- compiler
- lib/src
- diagnostics
- elements
- ir
- js_backend
- kernel
- test
- analyses
- end_to_end
- equivalence
- helpers
- model
- sourcemaps/tools
- tool
- dart2js_info
- bin/src
- lib
- src
- dart2js_tools/lib
- src
- dds/lib
- dev_compiler
- lib/src
- compiler
- kernel
- test
- expression_compiler
- front_end
- lib/src
- api_prototype
- base
- fasta
- builder
- dill
- kernel
- source
- type_inference
- util
- testing
- test
- enable_non_nullable
- fasta
- testing
- type_inference
- types
- language_versioning
- macros
- static_types
- utils
- tool
- _fasta
- frontend_server/lib
- src
- kernel/lib
- src
- target
- testing
- transformations
- nnbd_migration/lib/src
- test_runner/lib/src
- vm_service/test/common
- vm
- bin
- lib
- transformations
- ffi
- type_flow
- testcases/transformations/type_flow/transformer
- test
- transformations
- runtime
- observatory_2
- bin
- lib/src/elements
- observatory
- bin
- lib/src/elements
- sdk/lib
- _http
- _internal/vm/bin
- core
- tests
- corelib_2
- corelib
- lib_2/mirrors
- lib/mirrors
- standalone_2/io
- standalone/io
- tools
- dom/src
- package_deps/bin
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
161 files changed
+378
-358
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
241 | | - | |
| 241 | + | |
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
| |||
269 | 269 | | |
270 | 270 | | |
271 | 271 | | |
272 | | - | |
| 272 | + | |
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
365 | | - | |
| 365 | + | |
366 | 366 | | |
367 | 367 | | |
368 | 368 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
176 | | - | |
| 176 | + | |
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
322 | 322 | | |
323 | 323 | | |
324 | 324 | | |
325 | | - | |
| 325 | + | |
326 | 326 | | |
327 | 327 | | |
328 | 328 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
0 commit comments