Commit Graph

25 Commits

Author SHA1 Message Date
Ilkka Seppälä 9ebbc421dd Update license headers 2019-10-12 20:05:54 +03:00
Ilkka Seppälä a113de6a14 Add licenses 2019-07-28 16:24:14 +03:00
kanwarpreet25 c6ecf58687 508 : sonar qube critical issue fixes (#852)
* 508 : sonar qube critical issue fixes

* 508 : Sunar Qube Fixes
Define a constant instead of duplicating this literal "user_accounts" 4 times.
Define a constant instead of duplicating this literal "userID" 5 times
Define a constant instead of duplicating this literal "additionalInfo" 4 times.
Define a constant instead of duplicating this literal "userName" 4 times.

* 508 : Sunar Qube Fixes
Define a constant instead of duplicating this literal "user_accounts" 4 times.

* 508 : Sonar Qube Fixes
Define a constant instead of duplicating this literal "eEvans" 4 times
Define a constant instead of duplicating this literal "jBloch" 6 times
Define a constant instead of duplicating this literal "mFowler" 3 times

* 508 : Sonar Qube FIxes
Define a constant instead of duplicating this literal "username" 3 times.

* 508: sonar qube issue fixes
Define a constant instead of duplicating this literal "customerDao.getAllCustomers(): " 4 times.

* 508 : sonar qube issue fixes
Define a constant instead of duplicating this literal "App.main(), student : " 4 times.

* 508 : sonar Qube issue fixes
Define a constant instead of duplicating this literal "{} hits {}. {} is damaged!" 3 times.
Define a constant instead of duplicating this literal "{} hits {}." 4 times.

* 508 : Define a constant instead of duplicating this literal "{} hits {}." 4 times.

* 508 : checkstyle fixes

* 508: checkstyle fixes

* 508: checkstyle fixes

* 508: checkstyle fixes

* 508: checkstyle fixes

* 508: checkstyle fixes

* 508: cqrs checkstyle fixes
2019-07-28 15:39:40 +03:00
olcbean a82000650d Remove redundant explicit super() constructor calls #694 2018-01-15 19:33:55 +01:00
James Roland e9a541259b Removing all redundant super constructor calls 2018-01-10 21:20:37 -08:00
Ilkka Seppälä ffbf56f01a CQRS pattern: Add missing license headers 2017-07-29 21:41:11 +03:00
Sabiq Ihab 871df4f918 close connection before throwing an exception 2017-07-29 13:26:54 +01:00
Sabiq Ihab 7ae9e3ee22 add a description of the pattern 2017-07-29 13:13:08 +01:00
Sabiq Ihab c572fe885e add check on null objects 2017-07-29 12:16:19 +01:00
Sabiq Ihab a221245909 Use Logger instead of println 2017-07-29 12:14:15 +01:00
Sabiq Ihab 8bf4497879 Close sessions using try with resources 2017-07-29 12:13:34 +01:00
Sabiq Ihab d8919d88f0 fix pmd errors 2017-06-30 21:26:02 +00:00
Sabiq Ihab b67719ab32 add tests 2017-06-30 21:26:02 +00:00
Sabiq Ihab a8f50297eb add hashCode and equals to Author and Book DTOs 2017-06-30 21:26:02 +00:00
Sabiq Ihab 3128d3fb40 create main class 2017-06-30 21:26:02 +00:00
Sabiq Ihab a2dba5bf6d add logs, javadoc and format to checkstyle conventions 2017-06-30 21:26:02 +00:00
Sabiq Ihab 40c00ca2af add ICommandService and IQueriesService Implementations 2017-06-30 21:26:02 +00:00
Sabiq Ihab 8e25ec55bf change long with BigIntger and replace getBook() 2017-06-30 21:26:02 +00:00
Sabiq Ihab 8881950e6d add toString() to BookDTO 2017-06-30 21:26:02 +00:00
Sabiq Ihab 51bcee5d7d add Queries and Commands Interfaces 2017-06-30 21:26:02 +00:00
Sabiq Ihab 15a25f0ef3 add DTOs 2017-06-30 21:26:02 +00:00
Sabiq Ihab f3902ffc16 add setters and protected no-arg constructor 2017-06-30 21:26:02 +00:00
Sabiq Ihab 8208f6252b add hibernate.cfg and HibernateUtil class 2017-06-30 21:26:02 +00:00
Sabiq Ihab ca73621f4d create data model 2017-06-30 21:26:01 +00:00
Sabiq Ihab 4e9988877a Initial commit 2017-06-30 21:26:01 +00:00