Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
ziqian zhang
Grasscutter
Commits
5b6da381
Commit
5b6da381
authored
May 03, 2022
by
krrr
Committed by
Melledy
May 02, 2022
Browse files
avoid compile error caused by encoding
parent
b253e779
Changes
2
Hide whitespace changes
Inline
Side-by-side
build.gradle
View file @
5b6da381
...
@@ -36,6 +36,8 @@ plugins {
...
@@ -36,6 +36,8 @@ plugins {
id
'signing'
id
'signing'
}
}
compileJava
.
options
.
encoding
=
"UTF-8"
compileTestJava
.
options
.
encoding
=
"UTF-8"
sourceCompatibility
=
JavaVersion
.
VERSION_17
sourceCompatibility
=
JavaVersion
.
VERSION_17
targetCompatibility
=
JavaVersion
.
VERSION_17
targetCompatibility
=
JavaVersion
.
VERSION_17
...
@@ -214,6 +216,7 @@ signing {
...
@@ -214,6 +216,7 @@ signing {
}
}
javadoc
{
javadoc
{
options
.
encoding
=
'UTF-8'
if
(
JavaVersion
.
current
().
isJava9Compatible
())
{
if
(
JavaVersion
.
current
().
isJava9Compatible
())
{
options
.
addBooleanOption
(
'html5'
,
true
)
options
.
addBooleanOption
(
'html5'
,
true
)
}
}
...
...
src/main/java/emu/grasscutter/server/dispatch/ClientLogHandler.java
View file @
5b6da381
...
@@ -7,7 +7,7 @@ import express.http.Response;
...
@@ -7,7 +7,7 @@ import express.http.Response;
import
java.io.IOException
;
import
java.io.IOException
;
/**
/**
* Used for processing crash dumps
&
logs generated by the game.
* Used for processing crash dumps
and
logs generated by the game.
* Logs are in JSON, and are sent to the server for logging.
* Logs are in JSON, and are sent to the server for logging.
*/
*/
public
final
class
ClientLogHandler
implements
HttpContextHandler
{
public
final
class
ClientLogHandler
implements
HttpContextHandler
{
...
...
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