Make MyWaifuWrapper.java constructor private

Ensures that users/clients are not able to instantiate an instance of MyWaifuWrapper.java
pull/3/head
Hammy 3 years ago
parent 42e9ce4439
commit 303083ff4b

@ -12,7 +12,7 @@ class MyWaifuWrapper {
* Instantiates an instance of {@link MyWaifuWrapper} to retrieve API Information * Instantiates an instance of {@link MyWaifuWrapper} to retrieve API Information
* @param apiKey API Key to authorise API request * @param apiKey API Key to authorise API request
*/ */
public MyWaifuWrapper(String apiKey) { MyWaifuWrapper(String apiKey) {
this.apiKey = apiKey; this.apiKey = apiKey;
} }
} }

Loading…
Cancel
Save