qian 1 year ago
parent 72b210346a
commit eb8cf44fd9

@ -4,8 +4,8 @@
<option name="autoReloadType" value="ALL" />
</component>
<component name="ChangeListManager">
<list default="true" id="a7505764-040b-48e2-b2fc-8c5b579e595f" name="Default" comment="6">
<change beforePath="$PROJECT_DIR$/src/main/java/cn/edu/hust/session/CategorySortKey.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/cn/edu/hust/session/CategorySortKey.java" afterDir="false" />
<list default="true" id="a7505764-040b-48e2-b2fc-8c5b579e595f" name="Default" comment="11">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
@ -447,7 +447,7 @@
<workItem from="1734330015246" duration="240000" />
<workItem from="1734332367675" duration="415000" />
<workItem from="1734335485027" duration="1950000" />
<workItem from="1734349531791" duration="708000" />
<workItem from="1734349531791" duration="1138000" />
</task>
<task id="LOCAL-00001" summary="1.环境搭建完成&#10;2.相关的工具类编写完成&#10;3.配置文件管理类编写完成">
<created>1529592741848</created>
@ -491,7 +491,14 @@
<option name="project" value="LOCAL" />
<updated>1734349563656</updated>
</task>
<option name="localTasksCounter" value="7" />
<task id="LOCAL-00007" summary="11">
<created>1734351215255</created>
<option name="number" value="00007" />
<option name="presentableId" value="LOCAL-00007" />
<option name="project" value="LOCAL" />
<updated>1734351215255</updated>
</task>
<option name="localTasksCounter" value="8" />
<servers />
</component>
<component name="TestHistory">
@ -640,7 +647,8 @@
<MESSAGE value="1" />
<MESSAGE value="111" />
<MESSAGE value="6" />
<option name="LAST_COMMIT_MESSAGE" value="6" />
<MESSAGE value="11" />
<option name="LAST_COMMIT_MESSAGE" value="11" />
</component>
<component name="editorHistoryManager">
<entry file="file://$PROJECT_DIR$/src/main/java/cn/edu/hust/conf/ConfigurationManager.java">

@ -10,7 +10,6 @@ public class CategorySortKey implements Ordered<CategorySortKey>, java.io.Serial
// 实现 Ordered 接口中的 compare 方法,进行排序比较
@Override
public int compare(CategorySortKey categorySortKey) {
// 先比较点击数,如果当前对象的点击数与传入对象的点击数不相等,则按点击数排序..
if(clickCount-categorySortKey.getClickCount()!=0)
{
return (int) (clickCount-categorySortKey.getClickCount());

Loading…
Cancel
Save