src/main/java/de/uapcore/lightpit/dao/CoreDAOFactory.java

changeset 33
fd8c40ff78c3
parent 30
fb30f7b78f9b
     1.1 --- a/src/main/java/de/uapcore/lightpit/dao/CoreDAOFactory.java	Sat May 09 14:58:41 2020 +0200
     1.2 +++ b/src/main/java/de/uapcore/lightpit/dao/CoreDAOFactory.java	Sat May 09 15:19:21 2020 +0200
     1.3 @@ -43,8 +43,7 @@
     1.4              case Postgres:
     1.5                  return moduleDao;
     1.6              default:
     1.7 -                assert (false);
     1.8 -                return null;
     1.9 +                throw new AssertionError("Switch was not exhaustive.");
    1.10          }
    1.11      }
    1.12  }

mercurial