Commit dc3e193
[ZEPPELIN-6220] Remove unused constructor in DownloadRequest.class
### What is this PR for?
This PR removes unused overloaded constructors in the DownloadRequest class located at:
zeppelin/zeppelin-test/src/main/java/org/apache/zeppelin/test/DownloadRequest.java.
Specifically, the constructor:
```
public DownloadRequest(URL url, int retries)
```
is not used anywhere within the Zeppelin codebase or its test suite. Removing these unused constructors simplifies the class and reduces maintenance complexity, without affecting any functional behavior.
As this constructor was removed, other constructors that were only used by it have also been removed accordingly.
### What type of PR is it?
Refactoring
### Todos
* [x] - Verify internal and external usage
* [x] - Remove unused constructors
### What is the Jira issue?
* Open an issue on Jira. [ZEPPELIN-6220](https://issues.apache.org/jira/browse/ZEPPELIN-6220)
### How should this be tested?
* Strongly recommended: add automated unit tests for any new or changed behavior
* Outline any manual steps to test the PR here.
### Screenshots (if appropriate)
### Questions:
* Does the license files need to update? - no
* Is there breaking changes for older versions? - no
* Does this needs documentation? - no
Closes #4970 from eunhwa99/ZEPPELIN-6220.
Signed-off-by: Philipp Dallig <philipp.dallig@gmail.com>
(cherry picked from commit 573fc4e)
Signed-off-by: Philipp Dallig <philipp.dallig@gmail.com>1 parent cc72590 commit dc3e193
1 file changed
Lines changed: 2 additions & 26 deletions
Lines changed: 2 additions & 26 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | 31 | | |
57 | 32 | | |
58 | 33 | | |
| |||
75 | 50 | | |
76 | 51 | | |
77 | 52 | | |
| 53 | + | |
0 commit comments