mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-01-24 16:14:26 +08:00
Fixed checkstyle error
This commit is contained in:
parent
37a69b60d9
commit
b5bed1e77e
@ -186,7 +186,7 @@ public class NetworkPageExporter extends FileExporter {
|
||||
Path to = toDirectory.resolve(resourceName);
|
||||
if (resourceName.endsWith(".css")) {
|
||||
export(to, theme.replaceThemeColors(resource.asString()));
|
||||
} else if (resourceName.equalsIgnoreCase("js/network-values.js")) {
|
||||
} else if ("js/network-values.js".equalsIgnoreCase(resourceName)) {
|
||||
// Replace /server in urls to fix server page links
|
||||
export(to, StringUtils.replace(resource.asString(), "server/", toRelativePathFromRoot("server") + '/'));
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user