Skip to content

Commit 016379a

Browse files
committed
Waiving Application's name attribute
unused in the library.
1 parent 1415dcf commit 016379a

1 file changed

Lines changed: 2 additions & 16 deletions

File tree

src/main/java/fr/rabian/ovhApi/beans/Application.java

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@
77
* @version 0.1
88
*/
99
public class Application {
10-
/**
11-
* Application's name
12-
*/
13-
private final String name;
10+
1411
/**
1512
* Application key (AK)
1613
*/
@@ -31,28 +28,17 @@ public class Application {
3128
/**
3229
* Creates an application.
3330
*
34-
* @param name Application's name
3531
* @param pubKey Application key (AK)
3632
* @param secKey Application secret (AS)
3733
* @param endpoint Application's endpoint
3834
*/
39-
public Application(String name, String pubKey, String secKey, Endpoint endpoint) {
40-
this.name = name;
35+
public Application(String pubKey, String secKey, Endpoint endpoint) {
4136
this.pubKey = pubKey;
4237
this.secKey = secKey;
4338
this.ep = endpoint;
4439
this.am = new AppManager(this);
4540
}
4641

47-
/**
48-
* Returns the app's name.
49-
*
50-
* @return Application's name
51-
*/
52-
public String getName() {
53-
return name;
54-
}
55-
5642
/**
5743
* Returns the app's public key.
5844
*

0 commit comments

Comments
 (0)