Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
Mirai
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
Mirai
Commits
8de9357f
Commit
8de9357f
authored
Mar 01, 2020
by
Him188
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo
parent
2cfd8be0
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
mirai-core/src/androidMain/kotlin/net/mamoe/mirai/Bot.kt
mirai-core/src/androidMain/kotlin/net/mamoe/mirai/Bot.kt
+1
-1
mirai-core/src/jvmMain/kotlin/net/mamoe/mirai/Bot.kt
mirai-core/src/jvmMain/kotlin/net/mamoe/mirai/Bot.kt
+1
-1
mirai-core/src/jvmMain/kotlin/net/mamoe/mirai/event/events/EventCancelledException.kt
...n/net/mamoe/mirai/event/events/EventCancelledException.kt
+1
-1
No files found.
mirai-core/src/androidMain/kotlin/net/mamoe/mirai/Bot.kt
View file @
8de9357f
...
@@ -52,7 +52,7 @@ actual abstract class Bot actual constructor() : CoroutineScope, LowLevelBotAPIA
...
@@ -52,7 +52,7 @@ actual abstract class Bot actual constructor() : CoroutineScope, LowLevelBotAPIA
* [Bot] 运行的 [Context].
* [Bot] 运行的 [Context].
*
*
* 在 JVM 的默认实现为 `class ContextImpl : Context`
* 在 JVM 的默认实现为 `class ContextImpl : Context`
* 在 Android 实现为
`android.content.Context`
* 在 Android 实现为
[android.content.Context]
*/
*/
actual
abstract
val
context
:
Context
actual
abstract
val
context
:
Context
...
...
mirai-core/src/jvmMain/kotlin/net/mamoe/mirai/Bot.kt
View file @
8de9357f
...
@@ -61,7 +61,7 @@ actual abstract class Bot actual constructor() : CoroutineScope, LowLevelBotAPIA
...
@@ -61,7 +61,7 @@ actual abstract class Bot actual constructor() : CoroutineScope, LowLevelBotAPIA
/**
/**
* [Bot] 运行的 [Context].
* [Bot] 运行的 [Context].
*
*
* 在 JVM 的默认实现为
`class ContextImpl : Context`
* 在 JVM 的默认实现为
[net.mamoe.mirai.utils.Context]
* 在 Android 实现为 `android.content.Context`
* 在 Android 实现为 `android.content.Context`
*/
*/
actual
abstract
val
context
:
Context
actual
abstract
val
context
:
Context
...
...
mirai-core/src/jvmMain/kotlin/net/mamoe/mirai/event/events/EventCancelledException.kt
View file @
8de9357f
package
net.mamoe.mirai.event.events
package
net.mamoe.mirai.event.events
// 不要删除
跨
平台结构.
// 不要删除
多
平台结构.
// 否则在 Java 中这个 class 不会被认为是 java.lang.RuntimeException (Kotlin bug)
// 否则在 Java 中这个 class 不会被认为是 java.lang.RuntimeException (Kotlin bug)
@Suppress
(
"unused"
)
@Suppress
(
"unused"
)
actual
class
EventCancelledException
:
RuntimeException
{
actual
class
EventCancelledException
:
RuntimeException
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment