Commit 5cbbbae
authored
Remove deprecated methods and corresponding tests (#1678)
Remove deprecated methods and its references in one pass by a self-made script, with a few exceptions:
- There are still plenty of manual work involved to update usages of deprecated methods and fields
- Manual corrections due to misspell of the word "deprecated"
- google-cloud-pubsub: Pubsub has a few deprecated packages and it affects its integrated tests as well. Removing deprecated packages is not in the scope of this PR.
- google-cloud-compute: Compute engine has a few "Deprecated" related service which causes lots of noise of the automated script.
- google-cloud-datastore
- In `ValueBuilder` `getExcludeFromIndexes` was marked as deprecated which is inconsistent with other getter/setter methods
- Preserved the fields `meaning` in `ValueBuilder` since it is still wide used in the code. May require a separate PR to deprecate.1 parent 4283033 commit 5cbbbae
File tree
284 files changed
+224
-10604
lines changed- google-cloud-bigquery/src
- main/java/com/google/cloud/bigquery
- testing
- test/java/com/google/cloud/bigquery
- google-cloud-compute/src/main/java/com/google/cloud/compute
- google-cloud-core/src
- main/java/com/google/cloud
- test/java/com/google/cloud
- google-cloud-datastore/src
- main/java/com/google/cloud/datastore
- testing
- test/java/com/google/cloud/datastore
- testing
- google-cloud-dns/src
- main/java/com/google/cloud/dns
- test/java/com/google/cloud/dns
- google-cloud-examples/src
- main/java/com/google/cloud/examples
- datastore/snippets
- pubsub/snippets
- storage/snippets
- translate
- test/java/com/google/cloud/examples/datastore/snippets
- google-cloud-logging/src
- main/java/com/google/cloud/logging
- testing
- test/java/com/google/cloud/logging
- google-cloud-pubsub/src
- main/java/com/google/cloud/pubsub
- deprecated
- spi/v1
- test/java/com/google/cloud/pubsub/spi/v1
- google-cloud-resourcemanager/src
- main/java/com/google/cloud/resourcemanager
- testing
- test/java/com/google/cloud/resourcemanager
- google-cloud-spanner/src/main/java/com/google/cloud/spanner
- google-cloud-storage/src
- main/java/com/google/cloud/storage
- testing
- test/java/com/google/cloud/storage
- testing
- google-cloud-translate/src
- main/java/com/google/cloud/translate
- testing
- test/java/com/google/cloud/translate
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
284 files changed
+224
-10604
lines changedLines changed: 0 additions & 48 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | 83 | | |
88 | 84 | | |
89 | 85 | | |
| |||
131 | 127 | | |
132 | 128 | | |
133 | 129 | | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | 130 | | |
142 | 131 | | |
143 | 132 | | |
| |||
201 | 190 | | |
202 | 191 | | |
203 | 192 | | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | 193 | | |
214 | 194 | | |
215 | 195 | | |
| |||
306 | 286 | | |
307 | 287 | | |
308 | 288 | | |
309 | | - | |
310 | | - | |
311 | | - | |
312 | | - | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | 289 | | |
317 | 290 | | |
318 | 291 | | |
| |||
369 | 342 | | |
370 | 343 | | |
371 | 344 | | |
372 | | - | |
373 | | - | |
374 | | - | |
375 | | - | |
376 | | - | |
377 | | - | |
378 | | - | |
379 | 345 | | |
380 | 346 | | |
381 | 347 | | |
| |||
417 | 383 | | |
418 | 384 | | |
419 | 385 | | |
420 | | - | |
421 | | - | |
422 | | - | |
423 | | - | |
424 | | - | |
425 | | - | |
426 | | - | |
427 | 386 | | |
428 | 387 | | |
429 | 388 | | |
| |||
432 | 391 | | |
433 | 392 | | |
434 | 393 | | |
435 | | - | |
436 | | - | |
437 | | - | |
438 | | - | |
439 | | - | |
440 | | - | |
441 | | - | |
442 | 394 | | |
443 | 395 | | |
444 | 396 | | |
| |||
Lines changed: 17 additions & 32 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | 67 | | |
73 | 68 | | |
74 | 69 | | |
| |||
111 | 106 | | |
112 | 107 | | |
113 | 108 | | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | 109 | | |
120 | 110 | | |
121 | 111 | | |
| |||
148 | 138 | | |
149 | 139 | | |
150 | 140 | | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | 141 | | |
157 | 142 | | |
158 | 143 | | |
| |||
207 | 192 | | |
208 | 193 | | |
209 | 194 | | |
210 | | - | |
| 195 | + | |
211 | 196 | | |
212 | 197 | | |
213 | 198 | | |
| |||
277 | 262 | | |
278 | 263 | | |
279 | 264 | | |
280 | | - | |
281 | | - | |
| 265 | + | |
| 266 | + | |
282 | 267 | | |
283 | 268 | | |
284 | 269 | | |
| |||
372 | 357 | | |
373 | 358 | | |
374 | 359 | | |
375 | | - | |
376 | | - | |
377 | | - | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
378 | 363 | | |
379 | 364 | | |
380 | 365 | | |
| |||
398 | 383 | | |
399 | 384 | | |
400 | 385 | | |
401 | | - | |
402 | | - | |
| 386 | + | |
| 387 | + | |
403 | 388 | | |
404 | 389 | | |
405 | 390 | | |
| |||
468 | 453 | | |
469 | 454 | | |
470 | 455 | | |
471 | | - | |
| 456 | + | |
472 | 457 | | |
473 | 458 | | |
474 | 459 | | |
| |||
546 | 531 | | |
547 | 532 | | |
548 | 533 | | |
549 | | - | |
550 | | - | |
| 534 | + | |
| 535 | + | |
551 | 536 | | |
552 | 537 | | |
553 | 538 | | |
| |||
567 | 552 | | |
568 | 553 | | |
569 | 554 | | |
570 | | - | |
571 | | - | |
| 555 | + | |
| 556 | + | |
572 | 557 | | |
573 | 558 | | |
574 | 559 | | |
| |||
734 | 719 | | |
735 | 720 | | |
736 | 721 | | |
737 | | - | |
738 | | - | |
| 722 | + | |
| 723 | + | |
739 | 724 | | |
740 | 725 | | |
741 | 726 | | |
| |||
756 | 741 | | |
757 | 742 | | |
758 | 743 | | |
759 | | - | |
760 | | - | |
| 744 | + | |
| 745 | + | |
761 | 746 | | |
762 | 747 | | |
763 | 748 | | |
| |||
Lines changed: 6 additions & 30 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | 73 | | |
84 | 74 | | |
85 | 75 | | |
| |||
91 | 81 | | |
92 | 82 | | |
93 | 83 | | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | 84 | | |
102 | 85 | | |
103 | 86 | | |
| |||
110 | 93 | | |
111 | 94 | | |
112 | 95 | | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | 96 | | |
121 | 97 | | |
122 | 98 | | |
| |||
Lines changed: 0 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | 69 | | |
78 | 70 | | |
79 | 71 | | |
| |||
Lines changed: 0 additions & 25 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | 61 | | |
67 | 62 | | |
68 | 63 | | |
| |||
85 | 80 | | |
86 | 81 | | |
87 | 82 | | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | 83 | | |
94 | 84 | | |
95 | 85 | | |
| |||
110 | 100 | | |
111 | 101 | | |
112 | 102 | | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | 103 | | |
119 | 104 | | |
120 | 105 | | |
| |||
137 | 122 | | |
138 | 123 | | |
139 | 124 | | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | 125 | | |
146 | 126 | | |
147 | 127 | | |
| |||
165 | 145 | | |
166 | 146 | | |
167 | 147 | | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | 148 | | |
174 | 149 | | |
175 | 150 | | |
| |||
Lines changed: 0 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | 108 | | |
113 | 109 | | |
114 | 110 | | |
115 | 111 | | |
116 | 112 | | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | 113 | | |
122 | 114 | | |
123 | 115 | | |
| |||
0 commit comments