重构:在多个文件中添加注释并改进代码结构
为了提高代码库的可读性和可维护性,通过添加注释来详细说明各类、方法及变量的目的和功能。 同时,引入必要的构造器、getter、setter,并根据更好的编程实践重构现有功能。 修改的文件包括: src/dao/AdminDao.java src/dao/AdminDaoImpl.java src/po/Admin.java src/View/AdminView.java src/po/Business.java src/dao/BusinessDao.java src/dao/BusinessDaoImpl.java src/View/Display.java src/ElmAdminEntry.java src/ElmBusinessEntry.java src/jdbc/JDBC.java
This commit is contained in:
parent
9f6c2729ca
commit
341989695b
@ -12,6 +12,8 @@ public class ElmAdminEntry {
|
||||
new ElmAdminEntry().work();
|
||||
}
|
||||
|
||||
// CodeLineNum 2600
|
||||
|
||||
private static final int exitCode = 10;
|
||||
|
||||
public void work(){
|
||||
|
Loading…
Reference in New Issue
Block a user