PR #118 #123
reviewdog [testtool] report
reported by reviewdog 🐶
Findings (6)
src/main/java/com/descope/sdk/auth/impl/TOTPServiceImpl.java|9 col 1| Extra separation in import group before 'org.apache.commons.lang3.StringUtils'
src/main/java/com/descope/sdk/auth/impl/TOTPServiceImpl.java|23 col 1| Wrong lexicographical order for 'com.descope.utils.JwtUtils' import. Should be before 'org.apache.commons.lang3.StringUtils'.
src/main/java/com/descope/sdk/auth/TOTPService.java|19 col 9| 'method def modifier' has incorrect indentation level 8, expected level should be 2.
src/main/java/com/descope/sdk/auth/TOTPService.java|33 col 9| 'method def modifier' has incorrect indentation level 8, expected level should be 2.
src/main/java/com/descope/sdk/auth/TOTPService.java|49 col 9| 'method def modifier' has incorrect indentation level 8, expected level should be 2.
src/main/java/com/descope/sdk/auth/TOTPService.java|63 col 9| 'method def modifier' has incorrect indentation level 8, expected level should be 2.
Filtered Findings (13)
src/main/java/com/descope/sdk/auth/impl/TOTPServiceImpl.java|11 col 1| Extra separation in import group before 'com.descope.exception.DescopeException'
src/main/java/com/descope/sdk/auth/impl/TOTPServiceImpl.java|11 col 1| Wrong lexicographical order for 'com.descope.exception.DescopeException' import. Should be before 'org.apache.commons.lang3.StringUtils'.
src/main/java/com/descope/sdk/auth/impl/TOTPServiceImpl.java|12 col 1| Wrong lexicographical order for 'com.descope.exception.ServerCommonException' import. Should be before 'org.apache.commons.lang3.StringUtils'.
src/main/java/com/descope/sdk/auth/impl/TOTPServiceImpl.java|13 col 1| Wrong lexicographical order for 'com.descope.model.auth.AuthenticationInfo' import. Should be before 'org.apache.commons.lang3.StringUtils'.
src/main/java/com/descope/sdk/auth/impl/TOTPServiceImpl.java|14 col 1| Wrong lexicographical order for 'com.descope.model.client.Client' import. Should be before 'org.apache.commons.lang3.StringUtils'.
src/main/java/com/descope/sdk/auth/impl/TOTPServiceImpl.java|15 col 1| Wrong lexicographical order for 'com.descope.model.jwt.response.JWTResponse' import. Should be before 'org.apache.commons.lang3.StringUtils'.
src/main/java/com/descope/sdk/auth/impl/TOTPServiceImpl.java|16 col 1| Wrong lexicographical order for 'com.descope.model.magiclink.LoginOptions' import. Should be before 'org.apache.commons.lang3.StringUtils'.
src/main/java/com/descope/sdk/auth/impl/TOTPServiceImpl.java|17 col 1| Wrong lexicographical order for 'com.descope.model.otp.AuthenticationVerifyRequestBody' import. Should be before 'org.apache.commons.lang3.StringUtils'.
src/main/java/com/descope/sdk/auth/impl/TOTPServiceImpl.java|18 col 1| Wrong lexicographical order for 'com.descope.model.totp.TOTPResponse' import. Should be before 'org.apache.commons.lang3.StringUtils'.
src/main/java/com/descope/sdk/auth/impl/TOTPServiceImpl.java|19 col 1| Wrong lexicographical order for 'com.descope.model.totp.TotpSignUpRequestBody' import. Should be before 'org.apache.commons.lang3.StringUtils'.
src/main/java/com/descope/sdk/auth/impl/TOTPServiceImpl.java|20 col 1| Wrong lexicographical order for 'com.descope.model.user.User' import. Should be before 'org.apache.commons.lang3.StringUtils'.
src/main/java/com/descope/sdk/auth/impl/TOTPServiceImpl.java|21 col 1| Wrong lexicographical order for 'com.descope.proxy.ApiProxy' import. Should be before 'org.apache.commons.lang3.StringUtils'.
src/main/java/com/descope/sdk/auth/impl/TOTPServiceImpl.java|22 col 1| Wrong lexicographical order for 'com.descope.sdk.auth.TOTPService' import. Should be before 'org.apache.commons.lang3.StringUtils'.
Annotations
Check failure on line 9 in src/main/java/com/descope/sdk/auth/impl/TOTPServiceImpl.java
github-actions / testtool
[testtool] src/main/java/com/descope/sdk/auth/impl/TOTPServiceImpl.java#L9 <com.puppycrawl.tools.checkstyle.checks.imports.CustomImportOrderCheck>
Extra separation in import group before 'org.apache.commons.lang3.StringUtils'
Raw output
/github/workspace/./src/main/java/com/descope/sdk/auth/impl/TOTPServiceImpl.java:9:1: error: Extra separation in import group before 'org.apache.commons.lang3.StringUtils' (com.puppycrawl.tools.checkstyle.checks.imports.CustomImportOrderCheck)
Check failure on line 23 in src/main/java/com/descope/sdk/auth/impl/TOTPServiceImpl.java
github-actions / testtool
[testtool] src/main/java/com/descope/sdk/auth/impl/TOTPServiceImpl.java#L23 <com.puppycrawl.tools.checkstyle.checks.imports.CustomImportOrderCheck>
Wrong lexicographical order for 'com.descope.utils.JwtUtils' import. Should be before 'org.apache.commons.lang3.StringUtils'.
Raw output
/github/workspace/./src/main/java/com/descope/sdk/auth/impl/TOTPServiceImpl.java:23:1: error: Wrong lexicographical order for 'com.descope.utils.JwtUtils' import. Should be before 'org.apache.commons.lang3.StringUtils'. (com.puppycrawl.tools.checkstyle.checks.imports.CustomImportOrderCheck)
Check failure on line 19 in src/main/java/com/descope/sdk/auth/TOTPService.java
github-actions / testtool
[testtool] src/main/java/com/descope/sdk/auth/TOTPService.java#L19 <com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck>
'method def modifier' has incorrect indentation level 8, expected level should be 2.
Raw output
/github/workspace/./src/main/java/com/descope/sdk/auth/TOTPService.java:19:9: error: 'method def modifier' has incorrect indentation level 8, expected level should be 2. (com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck)
Check failure on line 33 in src/main/java/com/descope/sdk/auth/TOTPService.java
github-actions / testtool
[testtool] src/main/java/com/descope/sdk/auth/TOTPService.java#L33 <com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck>
'method def modifier' has incorrect indentation level 8, expected level should be 2.
Raw output
/github/workspace/./src/main/java/com/descope/sdk/auth/TOTPService.java:33:9: error: 'method def modifier' has incorrect indentation level 8, expected level should be 2. (com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck)
Check failure on line 49 in src/main/java/com/descope/sdk/auth/TOTPService.java
github-actions / testtool
[testtool] src/main/java/com/descope/sdk/auth/TOTPService.java#L49 <com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck>
'method def modifier' has incorrect indentation level 8, expected level should be 2.
Raw output
/github/workspace/./src/main/java/com/descope/sdk/auth/TOTPService.java:49:9: error: 'method def modifier' has incorrect indentation level 8, expected level should be 2. (com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck)
Check failure on line 63 in src/main/java/com/descope/sdk/auth/TOTPService.java
github-actions / testtool
[testtool] src/main/java/com/descope/sdk/auth/TOTPService.java#L63 <com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck>
'method def modifier' has incorrect indentation level 8, expected level should be 2.
Raw output
/github/workspace/./src/main/java/com/descope/sdk/auth/TOTPService.java:63:9: error: 'method def modifier' has incorrect indentation level 8, expected level should be 2. (com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck)