From 62f5430ab7617096e6fc8d081cbd1ec80e3964bb Mon Sep 17 00:00:00 2001 From: Vladimir Krivosheev Date: Wed, 27 Nov 2013 16:54:08 +0100 Subject: [PATCH] finalize constants --- .../intellij/openapi/vfs/StandardFileSystems.java | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/platform/core-api/src/com/intellij/openapi/vfs/StandardFileSystems.java b/platform/core-api/src/com/intellij/openapi/vfs/StandardFileSystems.java index ba5532985d87..44e9f4278a0f 100644 --- a/platform/core-api/src/com/intellij/openapi/vfs/StandardFileSystems.java +++ b/platform/core-api/src/com/intellij/openapi/vfs/StandardFileSystems.java @@ -17,6 +17,7 @@ package com.intellij.openapi.vfs; import com.intellij.ide.highlighter.ArchiveFileType; import com.intellij.openapi.util.NotNullLazyValue; +import com.intellij.util.io.URLUtil; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; @@ -24,12 +25,12 @@ import org.jetbrains.annotations.Nullable; * @author yole */ public class StandardFileSystems { - public static String FILE_PROTOCOL = "file"; - public static String FILE_PROTOCOL_PREFIX = "file://"; - public static String JAR_PROTOCOL = "jar"; - public static String JAR_PROTOCOL_PREFIX = "jar://"; - public static String JAR_SEPARATOR = "!/"; - public static String HTTP_PROTOCOL = "http"; + public static final String FILE_PROTOCOL = "file"; + public static final String FILE_PROTOCOL_PREFIX = FILE_PROTOCOL + URLUtil.SCHEME_SEPARATOR; + public static final String JAR_PROTOCOL = "jar"; + public static final String JAR_PROTOCOL_PREFIX = JAR_PROTOCOL + URLUtil.SCHEME_SEPARATOR; + public static final String JAR_SEPARATOR = "!/"; + public static final String HTTP_PROTOCOL = "http"; private static final NotNullLazyValue ourLocal = new NotNullLazyValue() { @NotNull