убирание портов в константы внутри кода

This commit is contained in:
2025-02-08 19:19:26 +03:00
parent 7dd3069445
commit b8f1ad56ed
8 changed files with 16 additions and 39 deletions

View File

@@ -112,7 +112,7 @@ public class ComponentsServer extends RepositoryServer<BugReportsDatabase> {
}
@Override
public int getPort() {
return Global.properties.ComponentsServerPort;
return Constants.ComponentsServerPort;
}
@Override
protected void beforePublishAction(DBObject object) throws Exception {