]> git.mxchange.org Git - jfinancials-war.git/commit
Maybe cherry-pick:
authorRoland Häder <roland@mxchange.org>
Thu, 26 Oct 2017 18:27:14 +0000 (20:27 +0200)
committerRoland Häder <roland@mxchange.org>
Thu, 26 Oct 2017 18:29:55 +0000 (20:29 +0200)
commitc66cf69bcc74d437f222ac09c73c1135f518e00d
tree4e00c799d255e4b082a960afe559d6db422316fc
parent5feee5453686595c3783a46724655f761cc4bf12
Maybe cherry-pick:
- updated add methods to new way:
  + create a private create<Entity>Instance() which copies all fields from
    backing bean to entity class
  + invoke that method before try/catch block
  + only cover method invocations in try() block that are really necessarry to
    catch thrown exceptions, e.g. clear() will never throw an exception, unless
    you make somthing *REALLY* horrible wrong
  + events should be fired after try/catch blocks, so the updated<Entity>
    instance be declared before it (not initialized)

Signed-off-by: Roland Häder <roland@mxchange.org>
src/java/org/mxchange/jfinancials/beans/category/FinancialAdminCategoryWebRequestBean.java
src/java/org/mxchange/jfinancials/beans/helper/FinancialsWebRequestHelperBean.java
src/java/org/mxchange/jfinancials/beans/product/FinancialAdminProductWebRequestBean.java