Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Intellij Community
Commits
2e580a94
Commit
2e580a94
authored
6 years ago
by
Vladimir Krivosheev
Browse files
Options
Download
Email Patches
Plain Diff
cleanup
parent
03ed7e0d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
platform/configuration-store-impl/src/ProjectStateStorageManager.kt
+3
-3
...onfiguration-store-impl/src/ProjectStateStorageManager.kt
with
3 additions
and
3 deletions
+3
-3
platform/configuration-store-impl/src/ProjectStateStorageManager.kt
+
3
-
3
View file @
2e580a94
// Copyright 2000-201
8
JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
// Copyright 2000-201
9
JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package
com.intellij.configurationStore
import
com.intellij.openapi.components.PathMacroSubstitutor
...
...
@@ -16,10 +16,10 @@ open class ProjectStateStorageManager(macroSubstitutor: PathMacroSubstitutor,
useVirtualFileTracker
:
Boolean
=
true
)
:
StateStorageManagerImpl
(
ROOT_TAG_NAME
,
macroSubstitutor
,
if
(
useVirtualFileTracker
)
project
else
null
)
{
companion
object
{
internal
const
val
VERSION_OPTION
=
"version"
const
val
ROOT_TAG_NAME
:
String
=
"project"
const
val
ROOT_TAG_NAME
=
"project"
}
override
fun
normalizeFileSpec
(
fileSpec
:
String
)
:
String
=
removeMacroIfStartsWith
(
super
.
normalizeFileSpec
(
fileSpec
),
PROJECT_CONFIG_DIR
)
override
fun
normalizeFileSpec
(
fileSpec
:
String
)
=
removeMacroIfStartsWith
(
super
.
normalizeFileSpec
(
fileSpec
),
PROJECT_CONFIG_DIR
)
override
fun
expandMacros
(
path
:
String
):
String
{
if
(
path
[
0
]
==
'$'
)
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment