mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-12 19:45:22 +02:00
[releng] Fix Java 1.5 dependency String.replace(String, String)
This commit is contained in:
parent
bfc22c0427
commit
b6dfb3bb26
1 changed files with 1 additions and 1 deletions
|
@ -244,7 +244,7 @@ public class ScpFileAttr {
|
||||||
mTime = parseDateTime(dateField);
|
mTime = parseDateTime(dateField);
|
||||||
/* The rest of the entry is name ( and may be symlink ) */
|
/* The rest of the entry is name ( and may be symlink ) */
|
||||||
String[] namesplit = Pattern.compile(
|
String[] namesplit = Pattern.compile(
|
||||||
dateField.replace(" ", "\\s+") + "\\s").split(lsString); //$NON-NLS-1$//$NON-NLS-2$ //$NON-NLS-3$
|
dateField.replaceAll(" ", "\\s+") + "\\s").split(lsString); //$NON-NLS-1$//$NON-NLS-2$ //$NON-NLS-3$
|
||||||
if (namesplit.length != 2)
|
if (namesplit.length != 2)
|
||||||
return;
|
return;
|
||||||
name = namesplit[1];
|
name = namesplit[1];
|
||||||
|
|
Loading…
Add table
Reference in a new issue