Probleme mit INetAddr
This commit is contained in:
parent
ebf2e0d8ee
commit
f8fb5d31e4
@ -63,7 +63,7 @@ public class PacRemote extends AbstractRemote {
|
|||||||
pac.setCreated(new Date());
|
pac.setCreated(new Date());
|
||||||
INetAddress curINetAddr = pac.getCurINetAddr();
|
INetAddress curINetAddr = pac.getCurINetAddr();
|
||||||
String inetAddrString = setParams.get("curinetaddr");
|
String inetAddrString = setParams.get("curinetaddr");
|
||||||
if (curINetAddr == null && assertNotNull(inetAddrString)) {
|
if ((curINetAddr == null || curINetAddr.getInetAddr() == null) && assertNotNull(inetAddrString)) {
|
||||||
curINetAddr = new INetAddress(inetAddrString);
|
curINetAddr = new INetAddress(inetAddrString);
|
||||||
pac.setCurINetAddr(curINetAddr);
|
pac.setCurINetAddr(curINetAddr);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user