ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/java/installer2/src/net/oni2/aeinstaller/backend/Paths.java
(Generate patch)

Comparing java/installer2/src/net/oni2/aeinstaller/backend/Paths.java (file contents):
Revision 857 by alloc, Fri May 3 21:52:50 2013 UTC vs.
Revision 1013 by alloc, Mon Mar 23 15:41:46 2015 UTC

# Line 49 | Line 49 | public class Paths {
49                  } else {
50                          String jarPath = Paths.class.getProtectionDomain().getCodeSource()
51                                          .getLocation().getPath();
52 +                        jarPath = jarPath.replaceAll("\\+", "%2B");
53                          String decodedPath = null;
54                          try {
55                                  decodedPath = URLDecoder.decode(jarPath, "UTF-8");

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)