Remove any leading '*.' that may be present in the suffix list.
for (int t = 0; t < suffixes.size(); t++)
{
String j = suffixes.get(t);
- if (!j.startsWith("*."))
- {
- j = "*." + j;
+ if (j.startsWith("*.")) {
+ j = j.substring(2);
}
suffixes.set(t, j);
}
{
set.add(s);
}
-
-
-
-
return set;
}
-
}
