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

changeset 33
fd8c40ff78c3
parent 30
fb30f7b78f9b
equal deleted inserted replaced
32:63a31871189e 33:fd8c40ff78c3
41 // TODO: this is idiotic, we would not change the dialect while the app is running 41 // TODO: this is idiotic, we would not change the dialect while the app is running
42 switch (dialect) { 42 switch (dialect) {
43 case Postgres: 43 case Postgres:
44 return moduleDao; 44 return moduleDao;
45 default: 45 default:
46 assert (false); 46 throw new AssertionError("Switch was not exhaustive.");
47 return null;
48 } 47 }
49 } 48 }
50 } 49 }

mercurial