Move the string literal on the left side of this string comparison.
Change-Id: I8086a6fc1dc24719c3ffd3785a12c086ab453ae7
Issue-ID: POLICY-230
Signed-off-by: SwapnilPathak <SP00494485@techmahindra.com>
consumerInstance, fetchTimeout, fetchLimit, useHttps);
// super constructor sets servers = {""} if empty to avoid errors when using DME2
- if ((servers.size() == 1 && servers.get(0).equals("")) || (servers == null)
+ if ((servers.size() == 1 && ("".equals(servers.get(0)))) || (servers == null)
|| (servers.isEmpty())) {
throw new IllegalArgumentException("Must provide at least one host for HTTP AAF");
}