a1793ad6c7140a0afece27cea18e82fb3d0906de
Files Diff
- Added: 8
- Removed: 5
- Renamed: 0
- Modified: 56
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Rename Method | 1 | ||
Move And Rename Method private createSessionAndValidate(ci ConnectionInfo) : Session from class org.lealone.db.DatabaseEngine to public createSession(ci ConnectionInfo) : Session from class org.lealone.db.DatabaseEngine.SessionFactoryImpl | From | To | |
Move Method | 3 | ||
Move Method private initSession(session Session, ci ConnectionInfo) : void from class org.lealone.db.DatabaseEngine to private initSession(session Session, ci ConnectionInfo) : void from class org.lealone.db.DatabaseEngine.SessionFactoryImpl | From | To | |
Move Method private validateUserAndPassword(correct boolean) : void from class org.lealone.db.DatabaseEngine to private validateUserAndPassword(correct boolean) : void from class org.lealone.db.DatabaseEngine.SessionFactoryImpl | From | To | |
Move Method public closeDatabase(dbName String) : void from class org.lealone.db.DatabaseEngine to package closeDatabase(dbName String) : void from class org.lealone.db.LealoneDatabase | From | To | |
Rename Variable | 1 | ||
Rename Variable dbPath : String to storageName : String in method public getStorageBuilder(storageEngine StorageEngine) : StorageBuilder in class org.lealone.db.Database | From | To | |
Change Return Type | 1 | ||
Change Return Type Collection<Database> to List<Database> in method public getDatabases() : List<Database> in class org.lealone.db.DatabaseEngine | From | To | |
Move Attribute | 2 | ||
Move Attribute private wrongPasswordDelay : long from class org.lealone.db.DatabaseEngine to private wrongPasswordDelay : long from class org.lealone.db.DatabaseEngine.SessionFactoryImpl | From | To | |
Move Attribute private conn : Connection from class org.lealone.db.SystemDatabase to private conn : Connection from class org.lealone.cluster.db.ClusterMetaData | From | To | |
Extract Class | 2 | ||
Extract Class org.lealone.db.DatabaseEngine.SessionFactoryImpl from class org.lealone.db.DatabaseEngine | From | To | |
Extract Class org.lealone.db.LealoneDatabase from class org.lealone.db.DatabaseEngine | From | To | |
Move Class | 4 | ||
Move Class org.lealone.db.User moved to org.lealone.db.auth.User | From | To | |
Move Class org.lealone.db.RightOwner moved to org.lealone.db.auth.RightOwner | From | To | |
Move Class org.lealone.db.Role moved to org.lealone.db.auth.Role | From | To | |
Move Class org.lealone.db.Right moved to org.lealone.db.auth.Right | From | To | |
Extract Method | 1 | ||
Extract Method protected getObjectId(db Database) : int extracted from protected getObjectId() : int in class org.lealone.sql.Prepared | From | To |