Skip to content

Commit 425a89d

Browse files
committed
Kotlin getter/setter compliance
1 parent 37afc3b commit 425a89d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/microsoft/graph/authentication/BaseAuthenticationProvider.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ public void setCustomHosts(@Nonnull String[] customHosts) {
3232
* @return the custom hosts set by user.
3333
*/
3434
@Nullable
35-
public HashSet<String> getCustomHosts(){
36-
return (HashSet<String>) this.customHosts.clone();
35+
public String[] getCustomHosts(){
36+
return (String[]) this.customHosts.toArray();
3737
}
3838
/**
3939
* Determines whether a request should be authenticated or not based on it's url.

0 commit comments

Comments
 (0)