Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Analisis

Mockup
Version1
Namedependecies

 

Code Block
grep -R genealogies $(find ./ -iname "*.java" )
 
... 

./mes-plugins/mes-plugins-orders/src/main/java/com/qcadoo/mes/orders/OrderService.java: if (order.getHasManyField("genealogies").size() == 0) {
./mes-plugins/mes-plugins-orders/src/main/java/com/qcadoo/mes/orders/OrderService.java: for (Entity genealogy : order.getHasManyField("genealogies")) {
./mes-plugins/mes-plugins-orders/src/test/java/com/qcadoo/mes/products/OrderServiceTest.java: given(order.getHasManyField("genealogies").size()).willReturn(0);
./mes-plugins/mes-plugins-orders/src/test/java/com/qcadoo/mes/products/OrderServiceTest.java: given(order.getHasManyField("genealogies").size()).willReturn(0);
./mes-plugins/mes-plugins-orders/src/test/java/com/qcadoo/mes/products/OrderServiceTest.java: given(order.getHasManyField("genealogies").size()).willReturn(0);
./mes-plugins/mes-plugins-orders/src/test/java/com/qcadoo/mes/products/OrderServiceTest.java: given(order.getHasManyField("genealogies").size()).willReturn(0);
./mes-plugins/mes-plugins-orders/src/test/java/com/qcadoo/mes/products/OrderServiceTest.java: given(order.getHasManyField("genealogies").size()).willReturn(0);
./mes-plugins/mes-plugins-orders/src/test/java/com/qcadoo/mes/products/OrderServiceTest.java: given(order.getHasManyField("genealogies").size()).willReturn(1);
./mes-plugins/mes-plugins-orders/src/test/java/com/qcadoo/mes/products/OrderServiceTest.java: given(order.getHasManyField("genealogies").iterator()).willReturn(iterator);
./mes-plugins/mes-plugins-orders/src/test/java/com/qcadoo/mes/products/OrderServiceTest.java: given(order.getHasManyField("genealogies").size()).willReturn(1);
./mes-plugins/mes-plugins-orders/src/test/java/com/qcadoo/mes/products/OrderServiceTest.java: given(order.getHasManyField("genealogies").iterator()).willReturn(iterator);
./mes-plugins/mes-plugins-orders/src/test/java/com/qcadoo/mes/products/OrderServiceTest.java: given(order.getHasManyField("genealogies").size()).willReturn(1);
./mes-plugins/mes-plugins-orders/src/test/java/com/qcadoo/mes/products/OrderServiceTest.java: given(order.getHasManyField("genealogies").iterator()).willReturn(iterator);
./mes-plugins/mes-plugins-orders/src/test/java/com/qcadoo/mes/products/OrderServiceTest.java: given(order.getHasManyField("genealogies").size()).willReturn(1);
./mes-plugins/mes-plugins-orders/src/test/java/com/qcadoo/mes/products/OrderServiceTest.java: given(order.getHasManyField("genealogies").iterator()).willReturn(iterator);
./mes-plugins/mes-plugins-orders/src/test/java/com/qcadoo/mes/products/OrderServiceTest.java: given(order.getHasManyField("genealogies").size()).willReturn(1);
./mes-plugins/mes-plugins-orders/src/test/java/com/qcadoo/mes/products/OrderServiceTest.java: given(order.getHasManyField("genealogies").iterator()).willReturn(iterator);
./mes-plugins/mes-plugins-orders/src/test/java/com/qcadoo/mes/products/OrderServiceTest.java: given(order.getHasManyField("genealogies").size()).willReturn(1);
./mes-plugins/mes-plugins-orders/src/test/java/com/qcadoo/mes/products/OrderServiceTest.java: given(order.getHasManyField("genealogies").iterator()).willReturn(iterator);
./mes-plugins/mes-plugins-orders/src/test/java/com/qcadoo/mes/products/OrderServiceTest.java: given(order.getHasManyField("genealogies").size()).willReturn(1);
./mes-plugins/mes-plugins-orders/src/test/java/com/qcadoo/mes/products/OrderServiceTest.java: given(order.getHasManyField("genealogies").iterator()).willReturn(iterator);
./mes-plugins/mes-plugins-orders/src/test/java/com/qcadoo/mes/products/OrderServiceTest.java: given(order.getHasManyField("genealogies").size()).willReturn(1);

...  

Why does the orders plugin use genealogies in their code ?