javacommons/gcfprotocols/file/javasrc/com/nokia/mj/impl/file/FileConnectionImpl.java
equal
deleted
inserted
replaced
252 { |
252 { |
253 // Remove trailing "/" |
253 // Remove trailing "/" |
254 curUrl = curUrl.substring(0, curUrl.length() - 1); |
254 curUrl = curUrl.substring(0, curUrl.length() - 1); |
255 } |
255 } |
256 String newUrl = curUrl.substring(0, curUrl.lastIndexOf('/') + 1); |
256 String newUrl = curUrl.substring(0, curUrl.lastIndexOf('/') + 1); |
257 newUrl += iFileUtility.getName(); |
257 newUrl += FileUTF8Handler.encode(iFileUtility.getName()); |
258 |
258 |
259 iFileConnectionUrl = new FileConnectionURL(newUrl); |
259 iFileConnectionUrl = new FileConnectionURL(newUrl); |
260 } |
260 } |
261 |
261 |
262 /** |
262 /** |