]> git.mxchange.org Git - pizzaservice-war.git/commitdiff
Cleanup through inspection + updated jar(s)
authorRoland Haeder <roland@mxchange.org>
Thu, 15 Oct 2015 07:52:08 +0000 (09:52 +0200)
committerRoland Haeder <roland@mxchange.org>
Thu, 15 Oct 2015 07:52:08 +0000 (09:52 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

21 files changed:
lib/jcontacts-core.jar
lib/jcore-logger-lib.jar
lib/jcore.jar
lib/jcoreee.jar
lib/jcountry-core.jar
lib/jcountry-lib.jar
lib/jphone-core.jar
lib/jshop-core.jar
lib/jshop-ee-lib.jar
src/java/org/mxchange/pizzaapplication/beans/basket/BasketWebBean.java
src/java/org/mxchange/pizzaapplication/beans/basket/BasketWebController.java
src/java/org/mxchange/pizzaapplication/beans/category/AdminCategoryWebController.java
src/java/org/mxchange/pizzaapplication/beans/checkout/CheckoutWebBean.java
src/java/org/mxchange/pizzaapplication/beans/checkout/CheckoutWebController.java
src/java/org/mxchange/pizzaapplication/beans/country/CountryWebController.java
src/java/org/mxchange/pizzaapplication/beans/customer/CustomerWebController.java
src/java/org/mxchange/pizzaapplication/beans/gender/GenderWebController.java
src/java/org/mxchange/pizzaapplication/beans/product/AdminProductWebBean.java
src/java/org/mxchange/pizzaapplication/beans/product/AdminProductWebController.java
src/java/org/mxchange/pizzaapplication/beans/receipt/ReceiptWebController.java
src/java/org/mxchange/pizzaapplication/beans/shop/ShopWebController.java

index 4bf2b793f990ceb4be6bc46a3fcbabd1234b7a7a..588f0e34e77622c6568476b940a2c8377d868844 100644 (file)
Binary files a/lib/jcontacts-core.jar and b/lib/jcontacts-core.jar differ
index 5049937263bc38db18ddd3a2d142e3f0d86881ed..ce30ba8ab061bc1a1e57a982ffaeea02ad9cb21f 100644 (file)
Binary files a/lib/jcore-logger-lib.jar and b/lib/jcore-logger-lib.jar differ
index a6eb677503c0d30b4193df4b45c57ed7216d2652..1c2e5700bc02644df1ffeab194e3f5068109e9bc 100644 (file)
Binary files a/lib/jcore.jar and b/lib/jcore.jar differ
index db108dde70c9a04dcc1d5eb7468ba40659daec95..6ea5dee81a9fef485994cf2c6831b836dd543c7d 100644 (file)
Binary files a/lib/jcoreee.jar and b/lib/jcoreee.jar differ
index 9daf43639f781789907f1add123c492bbecd73a3..eaf6110dd5bb7767f1dd977ab8ec1a5ff5f8e05c 100644 (file)
Binary files a/lib/jcountry-core.jar and b/lib/jcountry-core.jar differ
index 22aa4b66ced4ede7ea08b6d5cc37718c6367e40b..776d42a13a59543fa1a8937532faf18acffa890f 100644 (file)
Binary files a/lib/jcountry-lib.jar and b/lib/jcountry-lib.jar differ
index 97bdd3944061172815f3267f811233b4f4dce6c9..9637788dea980962faa7693e89d80d6fcd735f66 100644 (file)
Binary files a/lib/jphone-core.jar and b/lib/jphone-core.jar differ
index a0a803090b9de5252a7c55008a75b4e0b5abf322..9ae15ea5c10b56e92ef7597aa9ceff75dd82039b 100644 (file)
Binary files a/lib/jshop-core.jar and b/lib/jshop-core.jar differ
index dccf16a3308f775236540777a86871e11785decd..b7cc11d2731ff2728b99bbbcca51d23f76a604e8 100644 (file)
Binary files a/lib/jshop-ee-lib.jar and b/lib/jshop-ee-lib.jar differ
index 467033c469104cc872f0f6e6df3d56a100768cec..edf197f16ab6ef3560cd92cd363cfbdfcd344181 100644 (file)
@@ -57,17 +57,18 @@ public class BasketWebBean implements BasketWebController {
         */
        private final BasketSessionBeanRemote basketBean;
 
-       /////////////////////// Properties /////////////////////
-       /**
-        * Ordered orderedAmount
-        */
-       private Long orderedAmount;
 
        /**
         * Current item
         */
        private AddableBasketItem currentItem;
 
+       /////////////////////// Properties /////////////////////
+       /**
+        * Ordered orderedAmount
+        */
+       private Long orderedAmount;
+
        /**
         * Default constructor
         */
@@ -259,16 +260,6 @@ public class BasketWebBean implements BasketWebController {
                this.basket.clear();
        }
 
-       @Override
-       public Long getOrderedAmount () {
-               return this.orderedAmount;
-       }
-
-       @Override
-       public void setOrderedAmount (final Long orderedAmount) {
-               this.orderedAmount = orderedAmount;
-       }
-
        @Override
        public AddableBasketItem getCurrentItem () {
                return this.currentItem;
@@ -327,6 +318,16 @@ public class BasketWebBean implements BasketWebController {
                return this.basket.getLastNumRows();
        }
 
+       @Override
+       public Long getOrderedAmount () {
+               return this.orderedAmount;
+       }
+
+       @Override
+       public void setOrderedAmount (final Long orderedAmount) {
+               this.orderedAmount = orderedAmount;
+       }
+
        @Override
        public boolean hasItems () {
                // Call above and invert it
index f976aba215993fc60db930717d4e106327fd4750..04b3cd6ba7b485eeffad148a6a52fe505a14723e 100644 (file)
@@ -36,14 +36,14 @@ public interface BasketWebController extends Serializable {
         * <p>
         * @return Redirect target or null
         */
-       public String addItem (final Product product);
+       String addItem (final Product product);
 
        /**
         * Gets for all added items
         * <p>
         * @return A list of all added items
         */
-       public List<AddableBasketItem> allItems ();
+       List<AddableBasketItem> allItems ();
 
        /**
         * Calculates total price (no tax added) of current item. If no current item
@@ -51,7 +51,7 @@ public interface BasketWebController extends Serializable {
         * <p>
         * @return Current item's total price
         */
-       public Float calculateCurrentItemPrice ();
+       Float calculateCurrentItemPrice ();
 
        /**
         * Calculates total price (no tax added) for given item.
@@ -60,14 +60,14 @@ public interface BasketWebController extends Serializable {
         * <p>
         * @return Total price
         */
-       public Float calculateItemPrice (final AddableBasketItem item);
+       Float calculateItemPrice (final AddableBasketItem item);
 
        /**
         * Calculates total sum (no tax added) for all items
         * <p>
         * @return Total price of all items
         */
-       public Float calculateTotalPrice ();
+       Float calculateTotalPrice ();
 
        /**
         * Changes given item instance's amount in basket and redirects to proper
@@ -77,40 +77,40 @@ public interface BasketWebController extends Serializable {
         * <p>
         * @return Page redirection
         */
-       public String changeItem (final AddableBasketItem item);
+       String changeItem (final AddableBasketItem item);
 
        /**
         * Clears this basket instance
         */
-       public void clear ();
+       void clear ();
 
        /**
         * Getter for item amount property
         * <p>
         * @return Item amount property
         */
-       public Long getOrderedAmount ();
+       Long getOrderedAmount ();
 
        /**
         * Setter for item amount property
         * <p>
         * @param amount Item amount property
         */
-       public void setOrderedAmount (final Long amount);
+       void setOrderedAmount (final Long amount);
 
        /**
         * Getter for current item
         * <p>
         * @return Current item
         */
-       public AddableBasketItem getCurrentItem ();
+       AddableBasketItem getCurrentItem ();
 
        /**
         * Setter for current item
         * <p>
         * @param currentItem Current item
         */
-       public void setCurrentItem (final AddableBasketItem currentItem);
+       void setCurrentItem (final AddableBasketItem currentItem);
 
        /**
         * Some getter for item amount of given product. This method requires a full
@@ -121,21 +121,21 @@ public interface BasketWebController extends Serializable {
         * <p>
         * @return Item amount of given product
         */
-       public Long getItemAmount (final Product product);
+       Long getItemAmount (final Product product);
 
        /**
         * Getter for last entry
         * <p>
         * @return Last added item in basket
         */
-       public AddableBasketItem getLast ();
+       AddableBasketItem getLast ();
 
        /**
         * Getter for last num rows
         * <p>
         * @return Last num rows
         */
-       public int getLastNumRows ();
+       int getLastNumRows ();
 
        /**
         * Checks whether the basket has items in it. This method is wrapper to
@@ -143,14 +143,14 @@ public interface BasketWebController extends Serializable {
         * <p>
         * @return Whether the basket is empty
         */
-       public boolean hasItems ();
+       boolean hasItems ();
 
        /**
         * Checks whether the basket is empty
         * <p>
         * @return Whether the basket is empty
         */
-       public boolean isEmpty ();
+       boolean isEmpty ();
 
        /**
         * Checks whether the currently set product is added in basked
@@ -159,12 +159,12 @@ public interface BasketWebController extends Serializable {
         * <p>
         * @return Whether the product is added
         */
-       public boolean isProductAdded (final Product product);
+       boolean isProductAdded (final Product product);
 
        /**
         * Outputs last added item in the basket.
         * <p>
         * @return Last added item
         */
-       public String outputLastAddedItem ();
+       String outputLastAddedItem ();
 }
index c8f5358aceeb0ef743d1c5a44a99ccd22c8d852c..4cef66d8190f66a77d327bb11425d06a5f19d95f 100644 (file)
@@ -32,33 +32,33 @@ public interface AdminCategoryWebController {
         * @throws javax.faces.view.facelets.FaceletException If something
         * unexpected happened
         */
-       public void addCategory () throws FaceletException;
+       void addCategory () throws FaceletException;
 
        /**
         * Getter for parent id
         * <p>
         * @return Parent id
         */
-       public Category getParentCategory ();
+       Category getParentCategory ();
 
        /**
         * Setter for parent category
         * <p>
         * @param parentCategory Parent category to set
         */
-       public void setParentCategory (final Category parentCategory);
+       void setParentCategory (final Category parentCategory);
 
        /**
         * Getter for category title
         * <p>
         * @return the title
         */
-       public String getCategoryTitle ();
+       String getCategoryTitle ();
 
        /**
         * Setter for category title
         * <p>
         * @param categoryTitle the title to set
         */
-       public void setCategoryTitle (final String categoryTitle);
+       void setCategoryTitle (final String categoryTitle);
 }
index 465ea4043edfc5e75a7c4a94a42fc74360d6a725..dcfafb9cdf3138b6406b65b8682b719a62fa61f2 100644 (file)
@@ -55,25 +55,29 @@ public class CheckoutWebBean implements CheckoutWebController {
         */
        private static final long serialVersionUID = 51_987_348_347_183L;
 
+       ////////////////////// Bean injections ///////////////////////
        /**
-        * Connection
+        * Basket bean
         */
-       private Connection connection;
+       @Inject
+       private BasketWebController basketController;
 
        /**
-        * Message producer
+        * Connection
         */
-       private MessageProducer messageProducer;
+       private Connection connection;
 
        /**
-        * Queue instance
+        * Customer instance
         */
-       private Queue queue;
+       private Customer customer;
 
        /**
-        * Session instance
+        * Customer bean
         */
-       private Session session;
+       @Inject
+       private CustomerWebController customerController;
+
 
        /**
         * Object message
@@ -81,22 +85,15 @@ public class CheckoutWebBean implements CheckoutWebController {
        private ObjectMessage message;
 
        /**
-        * Customer instance
+        * Message producer
         */
-       private Customer customer;
+       private MessageProducer messageProducer;
 
-       ////////////////////// Bean injections ///////////////////////
        /**
-        * Basket bean
+        * Queue instance
         */
-       @Inject
-       private BasketWebController basketController;
+       private Queue queue;
 
-       /**
-        * Customer bean
-        */
-       @Inject
-       private CustomerWebController customerController;
 
        /**
         * Receipt bean
@@ -104,6 +101,27 @@ public class CheckoutWebBean implements CheckoutWebController {
        @Inject
        private ReceiptWebController receiptController;
 
+       /**
+        * Session instance
+        */
+       private Session session;
+
+       /**
+        * Destructor
+        */
+       @PreDestroy
+       public void destroy () {
+               try {
+                       // Try to close all
+                       this.messageProducer.close();
+                       this.session.close();
+                       this.connection.close();
+               } catch (final JMSException ex) {
+                       // TODO: Continue to throw is fine?
+                       throw new FacesException(ex);
+               }
+       }
+
        @Override
        public String doCheckout () {
                // Trace message
@@ -188,43 +206,22 @@ public class CheckoutWebBean implements CheckoutWebController {
                try {
                        // Get initial context
                        Context context = new InitialContext();
-
                        // Get factory from JMS resource
                        QueueConnectionFactory connectionFactory = (QueueConnectionFactory) context.lookup("jms/shopConnectionFactory"); //NOI18N
-
                        // Lookup queue
                        this.queue = (Queue) context.lookup("jms/shopCheckoutQueue"); //NOI18N
 
                        // Create connection
                        this.connection = connectionFactory.createConnection();
-
                        // Init session instance
                        this.session = this.connection.createSession(false, Session.AUTO_ACKNOWLEDGE);
-
                        // And message producer
-                       this.messageProducer = session.createProducer(queue);
-
+                       this.messageProducer = this.session.createProducer(this.queue);
                        // Finally the message instance itself
                        this.message = this.session.createObjectMessage();
-               } catch (final NamingException | JMSException e) {
+               }catch (final NamingException | JMSException e) {
                        // Continued to throw
                        throw new FacesException(e);
                }
        }
-
-       /**
-        * Destructor
-        */
-       @PreDestroy
-       public void destroy () {
-               try {
-                       // Try to close all
-                       this.messageProducer.close();
-                       this.session.close();
-                       this.connection.close();
-               } catch (final JMSException ex) {
-                       // TODO: Continue to throw is fine?
-                       throw new FacesException(ex);
-               }
-       }
 }
index 395e5439b088688692e771492931a9f26bcebcb3..513ed54170f0158d5517cfecc4c96d4f50de2dba 100644 (file)
@@ -31,19 +31,19 @@ public interface CheckoutWebController extends Serializable {
         * <p>
         * @return Page redirection target
         */
-       public String doCheckout ();
+       String doCheckout ();
 
        /**
         * Getter for customer instance
         * <p>
         * @return Customer instance
         */
-       public Customer getCustomer ();
+       Customer getCustomer ();
 
        /**
         * Setter for customer instance
         * <p>
         * @param customer Customer instance
         */
-       public void setCustomer (final Customer customer);
+       void setCustomer (final Customer customer);
 }
index 666fab671234333208113103a5438d0580410253..b9fac8c8bbb5cccb20e3edbe5232274512ec9e5a 100644 (file)
@@ -32,5 +32,5 @@ public interface CountryWebController extends Serializable {
         * <p>
         * @return All countries
         */
-       public List<Country> allCountries ();
+       List<Country> allCountries ();
 }
index bb57d7f1d5e26e6cfc226284b277039ed3b392eb..13d3fa7245326732dbbe0e591e985e7429016871 100644 (file)
@@ -36,180 +36,180 @@ public interface CustomerWebController extends Serializable {
         * <p>
         * @return A Customer instance
         */
-       public Customer createCustomerInstance ();
+       Customer createCustomerInstance ();
 
        /**
         * Cellphone number
         * <p>
         * @return the cellphoneNumber
         */
-       public DialableCellphoneNumber getCellphoneNumber ();
+       DialableCellphoneNumber getCellphoneNumber ();
 
        /**
         * Cellphone number
         * <p>
         * @param cellphoneNumber the cellphoneNumber to set
         */
-       public void setCellphoneNumber (final DialableCellphoneNumber cellphoneNumber);
+       void setCellphoneNumber (final DialableCellphoneNumber cellphoneNumber);
 
        /**
         * City
         * <p>
         * @return the city
         */
-       public String getCity ();
+       String getCity ();
 
        /**
         * City
         * <p>
         * @param city the city to set
         */
-       public void setCity (final String city);
+       void setCity (final String city);
 
        /**
         * Getter for country instance
         * <p>
         * @return Country instance
         */
-       public Country getCountry ();
+       Country getCountry ();
 
        /**
         * Setter for country instance
         * <p>
         * @param country Country instance
         */
-       public void setCountry (final Country country);
+       void setCountry (final Country country);
 
        /**
         * Email address
         * <p>
         * @return the emailAddress
         */
-       public String getEmailAddress ();
+       String getEmailAddress ();
 
        /**
         * Email address
         * <p>
         * @param emailAddress the emailAddress to set
         */
-       public void setEmailAddress (final String emailAddress);
+       void setEmailAddress (final String emailAddress);
 
        /**
         * Family name
         * <p>
         * @return the familyName
         */
-       public String getFamilyName ();
+       String getFamilyName ();
 
        /**
         * Family name
         * <p>
         * @param familyName the familyName to set
         */
-       public void setFamilyName (final String familyName);
+       void setFamilyName (final String familyName);
 
        /**
         * Fax number
         * <p>
         * @return the faxNumber
         */
-       public DialableFaxNumber getFaxNumber ();
+       DialableFaxNumber getFaxNumber ();
 
        /**
         * Fax number
         * <p>
         * @param faxNumber the faxNumber to set
         */
-       public void setFaxNumber (final DialableFaxNumber faxNumber);
+       void setFaxNumber (final DialableFaxNumber faxNumber);
 
        /**
         * First name
         * <p>
         * @return the first name
         */
-       public String getFirstName ();
+       String getFirstName ();
 
        /**
         * First name
         * <p>
         * @param firstName the first name to set
         */
-       public void setFirstName (final String firstName);
+       void setFirstName (final String firstName);
 
        /**
         * Gender of the contact
         * <p>
         * @return the gender
         */
-       public Gender getGender ();
+       Gender getGender ();
 
        /**
         * Gender of the contact
         * <p>
         * @param gender the gender to set
         */
-       public void setGender (final Gender gender);
+       void setGender (final Gender gender);
 
        /**
         * House number
         * <p>
         * @return the houseNumber
         */
-       public Short getHouseNumber ();
+       Short getHouseNumber ();
 
        /**
         * House number
         * <p>
         * @param houseNumber the houseNumber to set
         */
-       public void setHouseNumber (final Short houseNumber);
+       void setHouseNumber (final Short houseNumber);
 
        /**
         * Phone number
         * <p>
         * @return the phoneNumber
         */
-       public DialableLandLineNumber getPhoneNumber ();
+       DialableLandLineNumber getPhoneNumber ();
 
        /**
         * Phone number
         * <p>
         * @param phoneNumber the phoneNumber to set
         */
-       public void setPhoneNumber (final DialableLandLineNumber phoneNumber);
+       void setPhoneNumber (final DialableLandLineNumber phoneNumber);
 
        /**
         * Street
         * <p>
         * @return the street
         */
-       public String getStreet ();
+       String getStreet ();
 
        /**
         * Street
         * <p>
         * @param street the street to set
         */
-       public void setStreet (final String street);
+       void setStreet (final String street);
 
        /**
         * ZIP code
         * <p>
         * @return the zipCode
         */
-       public Integer getZipCode ();
+       Integer getZipCode ();
 
        /**
         * ZIP code
         * <p>
         * @param zipCode the zipCode to set
         */
-       public void setZipCode (final Integer zipCode);
+       void setZipCode (final Integer zipCode);
 
        /**
         * Checks whether all required personal data is set
         * <p>
         * @return Whether the required personal data is set
         */
-       public boolean isRequiredPersonalDataSet ();
+       boolean isRequiredPersonalDataSet ();
 }
index 722033d1035374978d9e4af4a809ff03b11796a0..5618aa6b86d8eeb1306ec74b5b06738723fb91a2 100644 (file)
@@ -32,12 +32,12 @@ public interface GenderWebController extends Serializable {
         * <p>
         * @return All genders as array
         */
-       public Gender[] getAllGenders ();
+       Gender[] getAllGenders ();
 
        /**
         * Getter for only selectable genders as array, UNKNOWN is not selectable
         * <p>
         * @return All genders as array
         */
-       public List<Gender> getSelectableGenders ();
+       List<Gender> getSelectableGenders ();
 }
index 3d2b74c5c2bd9e0337561e7325a2ebd3e8b07035..8c7c9b02f82a0427313cfd259d6f4b2f086fd571 100644 (file)
@@ -144,7 +144,7 @@ public class AdminProductWebBean implements AdminProductWebController {
 
        @Override
        public Category getProductCategory () {
-               return productCategory;
+               return this.productCategory;
        }
 
        @Override
index 2da2b11abe5eaa22d40d79fa8eb397a08871242c..ac384d77d17c8f1e0fb8eac18d3ce12634328342 100644 (file)
@@ -34,7 +34,7 @@ public interface AdminProductWebController {
         * @throws javax.faces.view.facelets.FaceletException If something
         * unexpected happened
         */
-       public void addProduct () throws FaceletException;
+       void addProduct () throws FaceletException;
 
        /**
         * Some "getter" for a linked list of all products
@@ -43,61 +43,61 @@ public interface AdminProductWebController {
         * <p>
         * @throws javax.faces.view.facelets.FaceletException If anything went wrong
         */
-       public List<Product> getAllProducts () throws FaceletException;
+       List<Product> getAllProducts () throws FaceletException;
 
        /**
         * Getter for product's available property
         * <p>
         * @return Product's available property
         */
-       public Boolean getProductAvailability ();
+       Boolean getProductAvailability ();
 
        /**
         * Setter for product's available property
         * <p>
         * @param available Product's available property
         */
-       public void setProductAvailability (final Boolean available);
+       void setProductAvailability (final Boolean available);
 
        /**
         * Getter for product's category
         * <p>
         * @return Product's category
         */
-       public Category getProductCategory ();
+       Category getProductCategory ();
 
        /**
         * Setter for product's category instance
         * <p>
         * @param productCategory Product's category instance
         */
-       public void setProductCategory (final Category productCategory);
+       void setProductCategory (final Category productCategory);
 
        /**
         * Getter for product's price property
         * <p>
         * @return Product's price property
         */
-       public Float getProductPrice ();
+       Float getProductPrice ();
 
        /**
         * Setter for product's price property
         * <p>
         * @param price Product's price property
         */
-       public void setProductPrice (final Float price);
+       void setProductPrice (final Float price);
 
        /**
         * Getter for product's title property
         * <p>
         * @return Product's title
         */
-       public String getProductTitle ();
+       String getProductTitle ();
 
        /**
         * Setter for product's title property
         * <p>
         * @param title Product's title
         */
-       public void setProductTitle (final String title);
+       void setProductTitle (final String title);
 }
index ff5998b625c7674dd2d9a7ddebd540aa28156dcd..85e85e98ec3872fc31fb2eb7c20d20804b4355f6 100644 (file)
@@ -31,19 +31,19 @@ public interface ReceiptWebController extends Serializable {
         * <p>
         * @return Access key to receipt
         */
-       public String fetchAccessKey ();
+       String fetchAccessKey ();
 
        /**
         * Getter for customer instamce
         * <p>
         * @return Customer instance
         */
-       public Customer getCustomer ();
+       Customer getCustomer ();
 
        /**
         * Setter for customer instamce
         * <p>
         * @param customer Customer instance
         */
-       public void setCustomer (final Customer customer);
+       void setCustomer (final Customer customer);
 }
index cfc888ddca4823509064c1d49a31916d778f2e01..24a51d58551a17934c2ade574c9441467ab3c0ff 100644 (file)
@@ -34,14 +34,14 @@ public interface ShopWebController extends Serializable {
         * <p>
         * @param category Category instance
         */
-       public void addCategory (final Category category);
+       void addCategory (final Category category);
 
        /**
         * Adds given product to the "cached" instance
         * <p>
         * @param product Product instance
         */
-       public void addProduct (final Product product);
+       void addProduct (final Product product);
 
        /**
         * Some "getter" for a linked list of all categories
@@ -50,7 +50,7 @@ public interface ShopWebController extends Serializable {
         * <p>
         * @throws javax.faces.view.facelets.FaceletException If anything went wrong
         */
-       public List<Category> getAllCategories () throws FaceletException;
+       List<Category> getAllCategories () throws FaceletException;
 
        /**
         * Some "getter" for a linked list of all categories including "Has no
@@ -60,7 +60,7 @@ public interface ShopWebController extends Serializable {
         * <p>
         * @throws javax.faces.view.facelets.FaceletException If anything went wrong
         */
-       public List<Category> getAllCategoriesParent () throws FaceletException;
+       List<Category> getAllCategoriesParent () throws FaceletException;
 
        /**
         * Some "getter" for a linked list of only available products
@@ -69,5 +69,5 @@ public interface ShopWebController extends Serializable {
         * <p>
         * @throws javax.faces.view.facelets.FaceletException If anything went wrong
         */
-       public List<Product> getAvailableProducts () throws FaceletException;
+       List<Product> getAvailableProducts () throws FaceletException;
 }