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 } |