microsoft / Partner-Center-Java

Partner Center SDK for Java
https://docs.microsoft.com/java/partnercenter/
31 stars 12 forks source link

Fix wrong detection of the first parameter #72

Closed msize closed 5 years ago

msize commented 5 years ago

Add boolean flag for checks the first parameter. The condition with address.length() is wrong, is always greater than 1 because it's the length of the string which already contains the root URL.