mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IJPL-188609 "Generate icon classes" doesn't resolve ambig names of numbers
GitOrigin-RevId: 100f44a2ceec4f57cdfbf9742093835047f2333a
This commit is contained in:
committed by
intellij-monorepo-bot
parent
0bd633e523
commit
a404ba9362
+4
-2
@@ -24,11 +24,10 @@ import java.nio.file.NoSuchFileException
|
||||
import java.nio.file.Path
|
||||
import java.nio.file.Paths
|
||||
import java.time.LocalDate
|
||||
import java.util.*
|
||||
import java.util.Locale
|
||||
import java.util.concurrent.CopyOnWriteArrayList
|
||||
import java.util.concurrent.atomic.AtomicInteger
|
||||
import javax.xml.stream.XMLStreamException
|
||||
import kotlin.collections.any
|
||||
import kotlin.io.path.exists
|
||||
|
||||
@JvmRecord
|
||||
@@ -665,6 +664,9 @@ internal open class IconsClassGenerator(
|
||||
}
|
||||
else {
|
||||
sb.append('_')
|
||||
if (index == 0 && Character.isDigit(c)) {
|
||||
sb.append(c)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user