mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-10 09:39:39 +02:00
Fix file path separator
This commit is contained in:
parent
5589143c99
commit
bee9ef0f08
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ public class LocalFile extends AbstractJingleFileTransferFile {
|
||||||
@Override
|
@Override
|
||||||
public String getName() {
|
public String getName() {
|
||||||
String path = file.getAbsolutePath();
|
String path = file.getAbsolutePath();
|
||||||
return path.substring(path.lastIndexOf(File.pathSeparatorChar) + 1);
|
return path.substring(path.lastIndexOf(File.separator) + 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue