mirror of
https://repository.entgra.net/community/device-mgt-plugins.git
synced 2025-09-16 23:42:15 +00:00
removed redundant brackets
This commit is contained in:
parent
5356ee920c
commit
4ffa47f0b4
@ -42,7 +42,7 @@ public class PropertyUtils {
|
|||||||
ServerConfiguration carbonConfig = ServerConfiguration.getInstance();
|
ServerConfiguration carbonConfig = ServerConfiguration.getInstance();
|
||||||
String portOffset = System.getProperty("portOffset", carbonConfig.getFirstProperty(CARBON_CONFIG_PORT_OFFSET));
|
String portOffset = System.getProperty("portOffset", carbonConfig.getFirstProperty(CARBON_CONFIG_PORT_OFFSET));
|
||||||
try {
|
try {
|
||||||
if ((portOffset != null)) {
|
if (portOffset != null) {
|
||||||
return Integer.parseInt(portOffset.trim());
|
return Integer.parseInt(portOffset.trim());
|
||||||
} else {
|
} else {
|
||||||
return CARBON_DEFAULT_PORT_OFFSET;
|
return CARBON_DEFAULT_PORT_OFFSET;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user