- opps, wrong check on null ...
- minor: sorted fields/attributes
- minor: wording fixed
Signed-off-by:Roland Häder <roland@mxchange.org>
PRIVACY_TERMS_LEGEND=Rechtliches:
PRIVACY_POLICY_NOT_ACCEPTED_MESSAGE=Bitte den Datenschutzbestimmungen zustimmen.
TERMS_NOT_ACCEPTED_MESSAGE=Bitte den AGBs zustimmen.
-PERSONAL_DATA_MINIMUM_NOTICE=Bitte geben Sie mindestens Name, Anschrift und Telefonnummer ein:
+PERSONAL_DATA_MINIMUM_NOTICE=Bitte geben Sie mindestens Name, Anschrift und Telefonnummer an.
PERSONAL_DATA_GENDER=Anrede:
PERSONAL_DATA_COMPANY_NAME=Firmenname:
PERSONAL_DATA_FIRST_NAME=Vorname:
*/
private static final long serialVersionUID = 5_476_347_320_198L;
- /**
- * Ordered amount
- */
- private Long amount;
-
/**
* Instance of wrapped basket
*/
*/
private final BasketSessionBeanRemote basketBean;
+ /////////////////////// Properties /////////////////////
+ /**
+ * Ordered amount
+ */
+ private Long amount;
+
/**
* Current item
*/
*/
private final AdminCategorySessionBeanRemote categoryBean;
+ ////////////////////// Bean injections ///////////////////////
/**
* Shop bean
*/
@Inject
private ShopWebController controller;
+ /////////////////////// Properties /////////////////////
/**
* Category title
*/
@Override
public String doCheckout () {
// Is the bean set?
- if (this.basketController != null) {
+ if (null == this.basketController) {
// Abort here
throw new NullPointerException("basketController is null"); //NOI18N
}
*/
private final CustomerSessionBeanRemote customerBean;
+ /////////////////////// Properties /////////////////////
/**
* Cellphone number
*/
private static final long serialVersionUID = 5_819_375_183_472_871L;
/**
- * Property available
+ * Remote bean for products
*/
- private Boolean available;
+ private final AdminProductSessionBeanRemote productBean;
+ ////////////////////// Bean injections ///////////////////////
/**
- * Category id
+ * Shop bean
*/
- private Long id;
+ @Inject
+ private ShopWebController controller;
+ /////////////////////// Properties /////////////////////
/**
- * Property price
+ * Available
*/
- private Float price;
+ private Boolean available;
/**
- * Remote bean for products
+ * Category id
*/
- private final AdminProductSessionBeanRemote productBean;
+ private Long id;
/**
- * Shop bean
+ * Property price
*/
- @Inject
- private ShopWebController controller;
+ private Float price;
/**
* Property title