accb54225bd24d1c7c43a4af6c1bc279321f749b
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 11
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Variable | 1 | ||
| Rename Variable valueWithoutSign : String to cookieValueWithoutSign : String in method private captureFinalCookie(sessionCookie Session) : String in class ninja.session.SessionImplTest | From | To | |
| Merge Parameter | 2 | ||
| Merge Parameter [username : String, password : String] to loginForm : LoginDto in method public loginPost(loginForm LoginDto, context Context) : Result in class controllers.LoginLogoutController | From | To | |
| Extract Variable | 1 | ||
| Extract Variable session : Session in method public loginPost(loginForm LoginDto, context Context) : Result from class controllers.LoginLogoutController | From | To | |
| Change Variable Type | 2 | ||
| Change Variable Type q : Query to q : TypedQuer<User> in method public isUserAndPasswordValid(username String, password String) : boolean in class dao.UserDao | From | To | |
| Change Variable Type q : Query to q : TypedQuery<User> in method public isUserAndPasswordValid(username String, password String) : boolean in class dao.UserDao | From | To | |
| Extract Method | 3 | ||
| Extract Method private captureFinalCookie(sessionCookie Session) : String extracted from public testGetAuthenticityTokenWorks() : void in class ninja.session.SessionImplTest | From | To | |
| Extract Method private captureFinalCookie(sessionCookie Session) : String extracted from public testGetIdTokenWorks() : void in class ninja.session.SessionImplTest | From | To | |
| Extract Method private checkExpire() : void extracted from public init(context Context) : void in class ninja.session.SessionImpl | From | To | |
| Change Attribute Type | 1 | ||
| Change Attribute Type sessionExpireTimeInMs : Integer to sessionExpireTimeInMs : Long in class ninja.session.SessionImpl | From | To |