File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
dao-factory/src/main/java/com/iluwatar/daofactory Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ public static DAOFactory getDataSource(DataSourceType dataSourceType) {
5656 case H2 -> new H2DataSourceFactory ();
5757 case MONGO -> new MongoDataSourceFactory ();
5858 case FLAT_FILE -> new FlatFileDataSourceFactory ();
59+ default -> throw new IllegalArgumentException ("Unsupported data source type" );
5960 };
6061 }
6162}
Original file line number Diff line number Diff line change 107107 <module >converter</module >
108108 <module >curiously-recurring-template-pattern</module >
109109 <module >currying</module >
110+ <module >dao-factory</module >
110111 <module >data-access-object</module >
111112 <module >data-bus</module >
112113 <module >data-locality</module >
246247 <module >visitor</module >
247248 <module >backpressure</module >
248249 <module >actor-model</module >
249- < module >dao-factory</ module >
250+
250251 </modules >
251252 <repositories >
252253 <repository >
You can’t perform that action at this time.
0 commit comments