Probleme mit Hive
This commit is contained in:
parent
8cf9a10749
commit
ebf2e0d8ee
@ -87,6 +87,7 @@ public class Pac extends AbstractEntity implements Serializable {
|
|||||||
public Pac() {
|
public Pac() {
|
||||||
basepac = new BasePac();
|
basepac = new BasePac();
|
||||||
curINetAddr = new INetAddress();
|
curINetAddr = new INetAddress();
|
||||||
|
hive = new Hive();
|
||||||
}
|
}
|
||||||
|
|
||||||
public Pac(String name, Customer cust, BasePac basePac, Hive hive) {
|
public Pac(String name, Customer cust, BasePac basePac, Hive hive) {
|
||||||
|
@ -76,7 +76,7 @@ public class PacRemote extends AbstractRemote {
|
|||||||
}
|
}
|
||||||
Hive hive = pac.getHive();
|
Hive hive = pac.getHive();
|
||||||
String hiveName = setParams.get("hive");
|
String hiveName = setParams.get("hive");
|
||||||
if (hive == null && assertNotNull(hiveName)) {
|
if ((hive == null || hive.getName() == null) && assertNotNull(hiveName)) {
|
||||||
hive = new Hive();
|
hive = new Hive();
|
||||||
hive.setName(hiveName);
|
hive.setName(hiveName);
|
||||||
pac.setHive(hive);
|
pac.setHive(hive);
|
||||||
|
Loading…
Reference in New Issue
Block a user