URIish: suppress non-localized message warning
Change-Id: I3ec37c67ba6f00ad8bf396aa3261dd90f35789ea Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
This commit is contained in:
parent
f3bc72fd21
commit
560ef875e3
|
@ -738,7 +738,8 @@ public String getHumanishName() throws IllegalArgumentException {
|
||||||
else if (result.endsWith(Constants.DOT_GIT_EXT))
|
else if (result.endsWith(Constants.DOT_GIT_EXT))
|
||||||
result = result.substring(0, result.length()
|
result = result.substring(0, result.length()
|
||||||
- Constants.DOT_GIT_EXT.length());
|
- Constants.DOT_GIT_EXT.length());
|
||||||
if (("file".equals(scheme) || LOCAL_FILE.matcher(s).matches())
|
if (("file".equals(scheme) || LOCAL_FILE.matcher(s) //$NON-NLS-1$
|
||||||
|
.matches())
|
||||||
&& result.endsWith(Constants.DOT_BUNDLE_EXT)) {
|
&& result.endsWith(Constants.DOT_BUNDLE_EXT)) {
|
||||||
result = result.substring(0,
|
result = result.substring(0,
|
||||||
result.length() - Constants.DOT_BUNDLE_EXT.length());
|
result.length() - Constants.DOT_BUNDLE_EXT.length());
|
||||||
|
|
Loading…
Reference in New Issue