[vcs-log] minor: move file and user filter classes to impl package
authorJulia Beliaeva <Julia.Beliaeva@jetbrains.com>
Mon, 24 Oct 2016 15:09:51 +0000 (18:09 +0300)
committerJulia Beliaeva <Julia.Beliaeva@jetbrains.com>
Mon, 24 Oct 2016 15:15:29 +0000 (18:15 +0300)
platform/vcs-log/impl/src/com/intellij/vcs/log/data/index/VcsLogPersistentIndex.java
platform/vcs-log/impl/src/com/intellij/vcs/log/impl/VcsLogFileFilter.java [moved from platform/vcs-log/impl/src/com/intellij/vcs/log/ui/filter/VcsLogFileFilter.java with 89% similarity]
platform/vcs-log/impl/src/com/intellij/vcs/log/impl/VcsLogUserFilterImpl.java [moved from platform/vcs-log/impl/src/com/intellij/vcs/log/ui/filter/VcsLogUserFilterImpl.java with 87% similarity]
platform/vcs-log/impl/src/com/intellij/vcs/log/ui/MyCommitsHighlighter.java
platform/vcs-log/impl/src/com/intellij/vcs/log/ui/filter/StructureFilterPopupComponent.java
platform/vcs-log/impl/src/com/intellij/vcs/log/ui/filter/UserFilterPopupComponent.java
platform/vcs-log/impl/src/com/intellij/vcs/log/ui/filter/VcsLogClassicFilterUi.java
platform/vcs-log/impl/test/com/intellij/vcs/log/VcsLogUserFilterTest.java
platform/vcs-log/impl/test/com/intellij/vcs/log/data/VisiblePackBuilderTest.kt
plugins/git4idea/tests/git4idea/log/GitLogProviderTest.java

index f4916108fa7bc4949928205d870134355f29e8a7..30dff4cd6d0818020832d575761e613925bfe09c 100644 (file)
@@ -41,7 +41,7 @@ import com.intellij.vcs.log.*;
 import com.intellij.vcs.log.data.*;
 import com.intellij.vcs.log.impl.FatalErrorConsumer;
 import com.intellij.vcs.log.impl.VcsLogUtil;
-import com.intellij.vcs.log.ui.filter.VcsLogUserFilterImpl;
+import com.intellij.vcs.log.impl.VcsLogUserFilterImpl;
 import com.intellij.vcs.log.util.PersistentUtil;
 import com.intellij.vcs.log.util.StopWatch;
 import com.intellij.vcs.log.util.TroveUtil;
similarity index 89%
rename from platform/vcs-log/impl/src/com/intellij/vcs/log/ui/filter/VcsLogFileFilter.java
rename to platform/vcs-log/impl/src/com/intellij/vcs/log/impl/VcsLogFileFilter.java
index 022f7bfc27524d817e03f861db2bf6c3f7a0a0cb..c90166c5b584e18dc2f436b4aff076309e33593a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2014 JetBrains s.r.o.
+ * Copyright 2000-2016 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.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package com.intellij.vcs.log.ui.filter;
+package com.intellij.vcs.log.impl;
 
 import com.intellij.vcs.log.VcsLogFilter;
 import com.intellij.vcs.log.VcsLogRootFilter;
 import com.intellij.vcs.log.VcsLogStructureFilter;
 import org.jetbrains.annotations.Nullable;
 
-/*package private*/ class VcsLogFileFilter implements VcsLogFilter {
+public class VcsLogFileFilter implements VcsLogFilter {
   @Nullable private final VcsLogStructureFilter myStructureFilter;
   @Nullable private final VcsLogRootFilter myRootFilter;
 
similarity index 87%
rename from platform/vcs-log/impl/src/com/intellij/vcs/log/ui/filter/VcsLogUserFilterImpl.java
rename to platform/vcs-log/impl/src/com/intellij/vcs/log/impl/VcsLogUserFilterImpl.java
index 65dba85f72b96cff04fdb9fab922403d7b83f966..513b770c9a297ccf32ea869de24b43d22ca26876 100644 (file)
@@ -1,4 +1,19 @@
-package com.intellij.vcs.log.ui.filter;
+/*
+ * Copyright 2000-2016 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.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package com.intellij.vcs.log.impl;
 
 import com.intellij.openapi.diagnostic.Logger;
 import com.intellij.openapi.util.text.StringUtil;
index 250cc6dd38ea7410ea9575df6a033b9420689965..4d11d74a221ec849049d14c66de64b020a64872d 100644 (file)
@@ -19,7 +19,7 @@ import com.intellij.util.NotNullFunction;
 import com.intellij.util.containers.ContainerUtil;
 import com.intellij.vcs.log.*;
 import com.intellij.vcs.log.data.VcsLogData;
-import com.intellij.vcs.log.ui.filter.VcsLogUserFilterImpl;
+import com.intellij.vcs.log.impl.VcsLogUserFilterImpl;
 import com.intellij.vcs.log.util.VcsUserUtil;
 import org.jetbrains.annotations.NotNull;
 
index b1f22248ec011fce6c014ee0c4cf06ea46bc206c..3192cf77e482fab294fd795eb1acdbaf9be7ede8 100644 (file)
@@ -33,6 +33,7 @@ import com.intellij.util.ui.EmptyIcon;
 import com.intellij.util.ui.JBUI;
 import com.intellij.vcs.log.VcsLogDataPack;
 import com.intellij.vcs.log.VcsLogRootFilter;
+import com.intellij.vcs.log.impl.VcsLogFileFilter;
 import com.intellij.vcs.log.impl.VcsLogRootFilterImpl;
 import com.intellij.vcs.log.VcsLogStructureFilter;
 import com.intellij.vcs.log.data.VcsLogStructureFilterImpl;
index 29de5bdbef3a5804aedf8bc2fd0c44141ed5e9b1..65fca30b38713171255dd0087a8df4c8ff39ac6e 100644 (file)
@@ -22,6 +22,7 @@ import com.intellij.util.containers.ContainerUtil;
 import com.intellij.vcs.log.VcsLogUserFilter;
 import com.intellij.vcs.log.data.VcsLogData;
 import com.intellij.vcs.log.data.VcsLogUiProperties;
+import com.intellij.vcs.log.impl.VcsLogUserFilterImpl;
 import com.intellij.vcs.log.util.VcsUserUtil;
 import org.jetbrains.annotations.NotNull;
 import org.jetbrains.annotations.Nullable;
index 67f6f57dc6f67501e45e06e283e479e45a22afe2..6ec9a058aab5c1bf94c8f7c304c2ae2b60c52097 100644 (file)
@@ -38,10 +38,7 @@ import com.intellij.util.ObjectUtils;
 import com.intellij.util.containers.ContainerUtil;
 import com.intellij.vcs.log.*;
 import com.intellij.vcs.log.data.*;
-import com.intellij.vcs.log.impl.VcsLogFilterCollectionImpl;
-import com.intellij.vcs.log.impl.VcsLogHashFilterImpl;
-import com.intellij.vcs.log.impl.VcsLogRootFilterImpl;
-import com.intellij.vcs.log.impl.VcsLogUtil;
+import com.intellij.vcs.log.impl.*;
 import com.intellij.vcs.log.ui.VcsLogActionPlaces;
 import com.intellij.vcs.log.ui.VcsLogUiImpl;
 import com.intellij.vcsUtil.VcsUtil;
index 285ad8345fce313fcabdfd7dd06fb1444d9bd145..4337f6a4a1fc91799241f91ad51d7fe79e4947f9 100644 (file)
@@ -26,7 +26,7 @@ import com.intellij.util.containers.ContainerUtil;
 import com.intellij.util.containers.MultiMap;
 import com.intellij.vcs.log.impl.HashImpl;
 import com.intellij.vcs.log.impl.VcsLogFilterCollectionImpl;
-import com.intellij.vcs.log.ui.filter.VcsLogUserFilterImpl;
+import com.intellij.vcs.log.impl.VcsLogUserFilterImpl;
 import com.intellij.vcs.log.util.VcsUserUtil;
 import junit.framework.TestCase;
 import org.jetbrains.annotations.NotNull;
index c9d454a4963aeb5c649b904ca2c2dd794bbebcd8..172b294d2b55d32231dd3ecb85a2fd2f5bf2c8a6 100644 (file)
@@ -30,7 +30,7 @@ import com.intellij.vcs.log.graph.VisibleGraph
 import com.intellij.vcs.log.impl.*
 import com.intellij.vcs.log.impl.TestVcsLogProvider.BRANCH_TYPE
 import com.intellij.vcs.log.impl.TestVcsLogProvider.DEFAULT_USER
-import com.intellij.vcs.log.ui.filter.VcsLogUserFilterImpl
+import com.intellij.vcs.log.impl.VcsLogUserFilterImpl
 import org.junit.Test
 import java.util.*
 import kotlin.test.assertEquals
index a69a0fb33977f75cd4824adedf6cc96144b97615..91463557010d1e2f84a0c306cc368ed5ec951047 100644 (file)
@@ -28,7 +28,7 @@ import com.intellij.util.containers.ContainerUtil;
 import com.intellij.vcs.log.*;
 import com.intellij.vcs.log.data.VcsLogBranchFilterImpl;
 import com.intellij.vcs.log.impl.*;
-import com.intellij.vcs.log.ui.filter.VcsLogUserFilterImpl;
+import com.intellij.vcs.log.impl.VcsLogUserFilterImpl;
 import com.intellij.vcsUtil.VcsFileUtil;
 import git4idea.test.GitSingleRepoTest;
 import git4idea.test.GitTestUtil;