Skip to content

Commit

Permalink
update Scala
Browse files Browse the repository at this point in the history
  • Loading branch information
maxcom committed Sep 28, 2024
1 parent 2eea36a commit ef1df72
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<spring.security.version>5.8.14</spring.security.version>
<jdbc.postgresql.version>42.7.3</jdbc.postgresql.version>
<elastic4s.version>7.17.4</elastic4s.version>
<scala.version>2.13.14</scala.version>
<scala.version>2.13.15</scala.version>
<scala.suffix>2.13</scala.suffix>
<activemq.version>5.18.5</activemq.version>
<slf4j.version>1.7.22</slf4j.version>
Expand Down
3 changes: 1 addition & 2 deletions src/main/scala/ru/org/linux/search/MoreLikeThisService.scala
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 1998-2023 Linux.org.ru
* Copyright 1998-2024 Linux.org.ru
* 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
Expand Down Expand Up @@ -36,7 +36,6 @@ import ru.org.linux.topic.Topic
import ru.org.linux.util.StringUtil

import java.time.ZoneId
import java.time.temporal.TemporalField
import scala.beans.BeanProperty
import scala.jdk.CollectionConverters.*
import scala.collection.mutable.ArrayBuffer
Expand Down
2 changes: 0 additions & 2 deletions src/main/scala/ru/org/linux/search/SearchResultService.scala
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ case class SearchItem (
class SearchResultsService(
userService: UserService, sectionService: SectionService, groupDao: GroupDao
) extends StrictLogging {
import ru.org.linux.search.SearchResultsService.*

def prepareAll(docs:java.lang.Iterable[SearchHit]) = (docs.asScala map prepare).asJavaCollection

def prepare(doc: SearchHit):SearchItem = {
Expand Down

0 comments on commit ef1df72

Please sign in to comment.