From 03274b07418b99c3f75fd5ee7baede758b39d25a Mon Sep 17 00:00:00 2001 From: Tagir Valeev Date: Tue, 28 Feb 2017 12:13:46 +0700 Subject: [PATCH] This killed many windows tests as Paths.get("", ...) failed on Windows (path cannot start with '<'). --- .../openapi/vcs/changes/shelf/ShelveChangesManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/shelf/ShelveChangesManager.java b/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/shelf/ShelveChangesManager.java index ccbbff2042bd..3d9d3bb2e2e1 100644 --- a/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/shelf/ShelveChangesManager.java +++ b/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/shelf/ShelveChangesManager.java @@ -1,5 +1,5 @@ /* - * Copyright 2000-2016 JetBrains s.r.o. + * Copyright 2000-2017 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -98,7 +98,7 @@ public class ShelveChangesManager extends AbstractProjectComponent implements JD } private static final String SHELVE_MANAGER_DIR_PATH = "shelf"; - public static final String DEFAULT_PROJECT_PRESENTATION_PATH = Paths.get("", SHELVE_MANAGER_DIR_PATH).toString(); + public static final String DEFAULT_PROJECT_PRESENTATION_PATH = "/shelf"; /** * System independent file-path for non-default project