mirror of
https://github.com/corda/corda.git
synced 2025-06-19 23:53:52 +00:00
rename "resource" URL protocol to "avian_vm_resource"
This fixes a problem with JOSM, which attaches its own meaning to the "resource" protocol. The new name is less likely to cause such conflicts.
This commit is contained in:
@ -83,8 +83,8 @@ public final class URL {
|
||||
{
|
||||
if ("http".equals(protocol) || "https".equals(protocol)) {
|
||||
return new avian.http.Handler();
|
||||
} else if ("resource".equals(protocol)) {
|
||||
return new avian.resource.Handler();
|
||||
} else if ("avian_vm_resource".equals(protocol)) {
|
||||
return new avian.avian_vm_resource.Handler();
|
||||
} else if ("file".equals(protocol)) {
|
||||
return new avian.file.Handler();
|
||||
} else if ("jar".equals(protocol)) {
|
||||
|
Reference in New Issue
Block a user