Skip to content

Set user roles

Set user roles #152

GitHub Actions / testtool failed Dec 18, 2023 in 2s

reviewdog [testtool] report

reported by reviewdog 🐶

Findings (41)

src/main/java/com/descope/sdk/mgmt/UserService.java|32 col 5| 'method def modifier' has incorrect indentation level 4, expected level should be 2.
src/main/java/com/descope/sdk/mgmt/UserService.java|41 col 5| 'method def modifier' has incorrect indentation level 4, expected level should be 2.
src/main/java/com/descope/sdk/mgmt/UserService.java|53 col 5| 'method def modifier' has incorrect indentation level 4, expected level should be 2.
src/main/java/com/descope/sdk/mgmt/UserService.java|59|

tag should be placed immediately before the first word, with no space after.
src/main/java/com/descope/sdk/mgmt/UserService.java|71 col 5| 'method def modifier' has incorrect indentation level 4, expected level should be 2.
src/main/java/com/descope/sdk/mgmt/UserService.java|81 col 5| 'method def modifier' has incorrect indentation level 4, expected level should be 2.
src/main/java/com/descope/sdk/mgmt/UserService.java|86|

tag should be placed immediately before the first word, with no space after.
src/main/java/com/descope/sdk/mgmt/UserService.java|95 col 5| 'method def modifier' has incorrect indentation level 4, expected level should be 2.
src/main/java/com/descope/sdk/mgmt/UserService.java|105 col 5| 'method def modifier' has incorrect indentation level 4, expected level should be 2.
src/main/java/com/descope/sdk/mgmt/UserService.java|115 col 5| 'method def modifier' has incorrect indentation level 4, expected level should be 2.
src/main/java/com/descope/sdk/mgmt/UserService.java|120|

tag should be placed immediately before the first word, with no space after.
src/main/java/com/descope/sdk/mgmt/UserService.java|126 col 5| 'method def modifier' has incorrect indentation level 4, expected level should be 2.
src/main/java/com/descope/sdk/mgmt/UserService.java|131|

tag should be placed immediately before the first word, with no space after.
src/main/java/com/descope/sdk/mgmt/UserService.java|136 col 5| 'method def modifier' has incorrect indentation level 4, expected level should be 2.
src/main/java/com/descope/sdk/mgmt/UserService.java|145 col 5| 'method def modifier' has incorrect indentation level 4, expected level should be 2.
src/main/java/com/descope/sdk/mgmt/UserService.java|154 col 5| 'method def modifier' has incorrect indentation level 4, expected level should be 2.
src/main/java/com/descope/sdk/mgmt/UserService.java|164 col 5| 'method def modifier' has incorrect indentation level 4, expected level should be 2.
src/main/java/com/descope/sdk/mgmt/UserService.java|173 col 5| 'method def modifier' has incorrect indentation level 4, expected level should be 2.
src/main/java/com/descope/sdk/mgmt/UserService.java|182 col 5| 'method def modifier' has incorrect indentation level 4, expected level should be 2.
src/main/java/com/descope/sdk/mgmt/UserService.java|193 col 5| 'method def modifier' has incorrect indentation level 4, expected level should be 2.
src/main/java/com/descope/sdk/mgmt/UserService.java|204 col 5| 'method def modifier' has incorrect indentation level 4, expected level should be 2.
src/main/java/com/descope/sdk/mgmt/UserService.java|214 col 5| 'method def modifier' has incorrect indentation level 4, expected level should be 2.
src/main/java/com/descope/sdk/mgmt/UserService.java|226 col 5| 'method def modifier' has incorrect indentation level 4, expected level should be 2.
src/main/java/com/descope/sdk/mgmt/UserService.java|237 col 5| 'method def modifier' has incorrect indentation level 4, expected level should be 2.
src/main/java/com/descope/sdk/mgmt/UserService.java|248 col 5| 'method def modifier' has incorrect indentation level 4, expected level should be 2.
src/main/java/com/descope/sdk/mgmt/UserService.java|258 col 5| 'method def modifier' has incorrect indentation level 4, expected level should be 2.
src/main/java/com/descope/sdk/mgmt/UserService.java|269 col 5| 'method def modifier' has incorrect indentation level 4, expected level should be 2.
src/main/java/com/descope/sdk/mgmt/UserService.java|280 col 5| 'method def modifier' has incorrect indentation level 4, expected level should be 2.
src/main/java/com/descope/sdk/mgmt/UserService.java|290 col 5| 'method def modifier' has incorrect indentation level 4, expected level should be 2.
src/main/java/com/descope/sdk/mgmt/UserService.java|300 col 5| 'method def modifier' has incorrect indentation level 4, expected level should be 2.
src/main/java/com/descope/sdk/mgmt/UserService.java|310 col 5| 'method def modifier' has incorrect indentation level 4, expected level should be 2.
src/main/java/com/descope/sdk/mgmt/UserService.java|321 col 5| 'method def modifier' has incorrect indentation level 4, expected level should be 2.
src/main/java/com/descope/sdk/mgmt/UserService.java|332 col 5| 'method def modifier' has incorrect indentation level 4, expected level should be 2.
src/main/java/com/descope/sdk/mgmt/UserService.java|343 col 5| 'method def modifier' has incorrect indentation level 4, expected level should be 2.
src/main/java/com/descope/sdk/mgmt/UserService.java|353 col 5| 'method def modifier' has incorrect indentation level 4, expected level should be 2.
src/main/java/com/descope/sdk/mgmt/UserService.java|362 col 5| 'method def modifier' has incorrect indentation level 4, expected level should be 2.
src/main/java/com/descope/sdk/mgmt/UserService.java|374 col 5| 'method def modifier' has incorrect indentation level 4, expected level should be 2.
src/main/java/com/descope/sdk/mgmt/UserService.java|386 col 5| 'method def modifier' has incorrect indentation level 4, expected level should be 2.
src/main/java/com/descope/sdk/mgmt/UserService.java|398 col 5| 'method def modifier' has incorrect indentation level 4, expected level should be 2.
src/main/java/com/descope/sdk/mgmt/UserService.java|411 col 5| 'method def modifier' has incorrect indentation level 4, expected level should be 2.
src/main/java/com/descope/sdk/mgmt/UserService.java|423 col 5| 'method def modifier' has incorrect indentation level 4, expected level should be 2.

Filtered Findings (1)

src/test/java/com/descope/sdk/mgmt/impl/UserServiceImplTest.java|439 col 3| All overloaded methods should be placed next to each other. Placing non-overloaded methods in between overloaded methods with the same type is a violation. Previous overloaded method located at line '420'.

Annotations

Check failure on line 32 in src/main/java/com/descope/sdk/mgmt/UserService.java

See this annotation in the file changed.

@github-actions github-actions / testtool

[testtool] src/main/java/com/descope/sdk/mgmt/UserService.java#L32 <com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck>

'method def modifier' has incorrect indentation level 4, expected level should be 2.
Raw output
/github/workspace/./src/main/java/com/descope/sdk/mgmt/UserService.java:32:5: error: 'method def modifier' has incorrect indentation level 4, expected level should be 2. (com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck)

Check failure on line 41 in src/main/java/com/descope/sdk/mgmt/UserService.java

See this annotation in the file changed.

@github-actions github-actions / testtool

[testtool] src/main/java/com/descope/sdk/mgmt/UserService.java#L41 <com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck>

'method def modifier' has incorrect indentation level 4, expected level should be 2.
Raw output
/github/workspace/./src/main/java/com/descope/sdk/mgmt/UserService.java:41:5: error: 'method def modifier' has incorrect indentation level 4, expected level should be 2. (com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck)

Check failure on line 53 in src/main/java/com/descope/sdk/mgmt/UserService.java

See this annotation in the file changed.

@github-actions github-actions / testtool

[testtool] src/main/java/com/descope/sdk/mgmt/UserService.java#L53 <com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck>

'method def modifier' has incorrect indentation level 4, expected level should be 2.
Raw output
/github/workspace/./src/main/java/com/descope/sdk/mgmt/UserService.java:53:5: error: 'method def modifier' has incorrect indentation level 4, expected level should be 2. (com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck)

Check failure on line 59 in src/main/java/com/descope/sdk/mgmt/UserService.java

See this annotation in the file changed.

@github-actions github-actions / testtool

[testtool] src/main/java/com/descope/sdk/mgmt/UserService.java#L59 <com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocParagraphCheck>

<p> tag should be placed immediately before the first word, with no space after.
Raw output
/github/workspace/./src/main/java/com/descope/sdk/mgmt/UserService.java:59:0: error: <p> tag should be placed immediately before the first word, with no space after. (com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocParagraphCheck)

Check failure on line 71 in src/main/java/com/descope/sdk/mgmt/UserService.java

See this annotation in the file changed.

@github-actions github-actions / testtool

[testtool] src/main/java/com/descope/sdk/mgmt/UserService.java#L71 <com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck>

'method def modifier' has incorrect indentation level 4, expected level should be 2.
Raw output
/github/workspace/./src/main/java/com/descope/sdk/mgmt/UserService.java:71:5: error: 'method def modifier' has incorrect indentation level 4, expected level should be 2. (com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck)

Check failure on line 81 in src/main/java/com/descope/sdk/mgmt/UserService.java

See this annotation in the file changed.

@github-actions github-actions / testtool

[testtool] src/main/java/com/descope/sdk/mgmt/UserService.java#L81 <com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck>

'method def modifier' has incorrect indentation level 4, expected level should be 2.
Raw output
/github/workspace/./src/main/java/com/descope/sdk/mgmt/UserService.java:81:5: error: 'method def modifier' has incorrect indentation level 4, expected level should be 2. (com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck)

Check failure on line 86 in src/main/java/com/descope/sdk/mgmt/UserService.java

See this annotation in the file changed.

@github-actions github-actions / testtool

[testtool] src/main/java/com/descope/sdk/mgmt/UserService.java#L86 <com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocParagraphCheck>

<p> tag should be placed immediately before the first word, with no space after.
Raw output
/github/workspace/./src/main/java/com/descope/sdk/mgmt/UserService.java:86:0: error: <p> tag should be placed immediately before the first word, with no space after. (com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocParagraphCheck)

Check failure on line 95 in src/main/java/com/descope/sdk/mgmt/UserService.java

See this annotation in the file changed.

@github-actions github-actions / testtool

[testtool] src/main/java/com/descope/sdk/mgmt/UserService.java#L95 <com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck>

'method def modifier' has incorrect indentation level 4, expected level should be 2.
Raw output
/github/workspace/./src/main/java/com/descope/sdk/mgmt/UserService.java:95:5: error: 'method def modifier' has incorrect indentation level 4, expected level should be 2. (com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck)

Check failure on line 105 in src/main/java/com/descope/sdk/mgmt/UserService.java

See this annotation in the file changed.

@github-actions github-actions / testtool

[testtool] src/main/java/com/descope/sdk/mgmt/UserService.java#L105 <com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck>

'method def modifier' has incorrect indentation level 4, expected level should be 2.
Raw output
/github/workspace/./src/main/java/com/descope/sdk/mgmt/UserService.java:105:5: error: 'method def modifier' has incorrect indentation level 4, expected level should be 2. (com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck)

Check failure on line 115 in src/main/java/com/descope/sdk/mgmt/UserService.java

See this annotation in the file changed.

@github-actions github-actions / testtool

[testtool] src/main/java/com/descope/sdk/mgmt/UserService.java#L115 <com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck>

'method def modifier' has incorrect indentation level 4, expected level should be 2.
Raw output
/github/workspace/./src/main/java/com/descope/sdk/mgmt/UserService.java:115:5: error: 'method def modifier' has incorrect indentation level 4, expected level should be 2. (com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck)

Check failure on line 120 in src/main/java/com/descope/sdk/mgmt/UserService.java

See this annotation in the file changed.

@github-actions github-actions / testtool

[testtool] src/main/java/com/descope/sdk/mgmt/UserService.java#L120 <com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocParagraphCheck>

<p> tag should be placed immediately before the first word, with no space after.
Raw output
/github/workspace/./src/main/java/com/descope/sdk/mgmt/UserService.java:120:0: error: <p> tag should be placed immediately before the first word, with no space after. (com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocParagraphCheck)

Check failure on line 126 in src/main/java/com/descope/sdk/mgmt/UserService.java

See this annotation in the file changed.

@github-actions github-actions / testtool

[testtool] src/main/java/com/descope/sdk/mgmt/UserService.java#L126 <com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck>

'method def modifier' has incorrect indentation level 4, expected level should be 2.
Raw output
/github/workspace/./src/main/java/com/descope/sdk/mgmt/UserService.java:126:5: error: 'method def modifier' has incorrect indentation level 4, expected level should be 2. (com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck)

Check failure on line 131 in src/main/java/com/descope/sdk/mgmt/UserService.java

See this annotation in the file changed.

@github-actions github-actions / testtool

[testtool] src/main/java/com/descope/sdk/mgmt/UserService.java#L131 <com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocParagraphCheck>

<p> tag should be placed immediately before the first word, with no space after.
Raw output
/github/workspace/./src/main/java/com/descope/sdk/mgmt/UserService.java:131:0: error: <p> tag should be placed immediately before the first word, with no space after. (com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocParagraphCheck)

Check failure on line 136 in src/main/java/com/descope/sdk/mgmt/UserService.java

See this annotation in the file changed.

@github-actions github-actions / testtool

[testtool] src/main/java/com/descope/sdk/mgmt/UserService.java#L136 <com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck>

'method def modifier' has incorrect indentation level 4, expected level should be 2.
Raw output
/github/workspace/./src/main/java/com/descope/sdk/mgmt/UserService.java:136:5: error: 'method def modifier' has incorrect indentation level 4, expected level should be 2. (com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck)

Check failure on line 145 in src/main/java/com/descope/sdk/mgmt/UserService.java

See this annotation in the file changed.

@github-actions github-actions / testtool

[testtool] src/main/java/com/descope/sdk/mgmt/UserService.java#L145 <com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck>

'method def modifier' has incorrect indentation level 4, expected level should be 2.
Raw output
/github/workspace/./src/main/java/com/descope/sdk/mgmt/UserService.java:145:5: error: 'method def modifier' has incorrect indentation level 4, expected level should be 2. (com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck)

Check failure on line 154 in src/main/java/com/descope/sdk/mgmt/UserService.java

See this annotation in the file changed.

@github-actions github-actions / testtool

[testtool] src/main/java/com/descope/sdk/mgmt/UserService.java#L154 <com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck>

'method def modifier' has incorrect indentation level 4, expected level should be 2.
Raw output
/github/workspace/./src/main/java/com/descope/sdk/mgmt/UserService.java:154:5: error: 'method def modifier' has incorrect indentation level 4, expected level should be 2. (com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck)

Check failure on line 164 in src/main/java/com/descope/sdk/mgmt/UserService.java

See this annotation in the file changed.

@github-actions github-actions / testtool

[testtool] src/main/java/com/descope/sdk/mgmt/UserService.java#L164 <com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck>

'method def modifier' has incorrect indentation level 4, expected level should be 2.
Raw output
/github/workspace/./src/main/java/com/descope/sdk/mgmt/UserService.java:164:5: error: 'method def modifier' has incorrect indentation level 4, expected level should be 2. (com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck)

Check failure on line 173 in src/main/java/com/descope/sdk/mgmt/UserService.java

See this annotation in the file changed.

@github-actions github-actions / testtool

[testtool] src/main/java/com/descope/sdk/mgmt/UserService.java#L173 <com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck>

'method def modifier' has incorrect indentation level 4, expected level should be 2.
Raw output
/github/workspace/./src/main/java/com/descope/sdk/mgmt/UserService.java:173:5: error: 'method def modifier' has incorrect indentation level 4, expected level should be 2. (com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck)

Check failure on line 182 in src/main/java/com/descope/sdk/mgmt/UserService.java

See this annotation in the file changed.

@github-actions github-actions / testtool

[testtool] src/main/java/com/descope/sdk/mgmt/UserService.java#L182 <com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck>

'method def modifier' has incorrect indentation level 4, expected level should be 2.
Raw output
/github/workspace/./src/main/java/com/descope/sdk/mgmt/UserService.java:182:5: error: 'method def modifier' has incorrect indentation level 4, expected level should be 2. (com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck)

Check failure on line 193 in src/main/java/com/descope/sdk/mgmt/UserService.java

See this annotation in the file changed.

@github-actions github-actions / testtool

[testtool] src/main/java/com/descope/sdk/mgmt/UserService.java#L193 <com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck>

'method def modifier' has incorrect indentation level 4, expected level should be 2.
Raw output
/github/workspace/./src/main/java/com/descope/sdk/mgmt/UserService.java:193:5: error: 'method def modifier' has incorrect indentation level 4, expected level should be 2. (com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck)

Check failure on line 204 in src/main/java/com/descope/sdk/mgmt/UserService.java

See this annotation in the file changed.

@github-actions github-actions / testtool

[testtool] src/main/java/com/descope/sdk/mgmt/UserService.java#L204 <com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck>

'method def modifier' has incorrect indentation level 4, expected level should be 2.
Raw output
/github/workspace/./src/main/java/com/descope/sdk/mgmt/UserService.java:204:5: error: 'method def modifier' has incorrect indentation level 4, expected level should be 2. (com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck)

Check failure on line 214 in src/main/java/com/descope/sdk/mgmt/UserService.java

See this annotation in the file changed.

@github-actions github-actions / testtool

[testtool] src/main/java/com/descope/sdk/mgmt/UserService.java#L214 <com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck>

'method def modifier' has incorrect indentation level 4, expected level should be 2.
Raw output
/github/workspace/./src/main/java/com/descope/sdk/mgmt/UserService.java:214:5: error: 'method def modifier' has incorrect indentation level 4, expected level should be 2. (com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck)

Check failure on line 226 in src/main/java/com/descope/sdk/mgmt/UserService.java

See this annotation in the file changed.

@github-actions github-actions / testtool

[testtool] src/main/java/com/descope/sdk/mgmt/UserService.java#L226 <com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck>

'method def modifier' has incorrect indentation level 4, expected level should be 2.
Raw output
/github/workspace/./src/main/java/com/descope/sdk/mgmt/UserService.java:226:5: error: 'method def modifier' has incorrect indentation level 4, expected level should be 2. (com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck)

Check failure on line 237 in src/main/java/com/descope/sdk/mgmt/UserService.java

See this annotation in the file changed.

@github-actions github-actions / testtool

[testtool] src/main/java/com/descope/sdk/mgmt/UserService.java#L237 <com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck>

'method def modifier' has incorrect indentation level 4, expected level should be 2.
Raw output
/github/workspace/./src/main/java/com/descope/sdk/mgmt/UserService.java:237:5: error: 'method def modifier' has incorrect indentation level 4, expected level should be 2. (com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck)

Check failure on line 248 in src/main/java/com/descope/sdk/mgmt/UserService.java

See this annotation in the file changed.

@github-actions github-actions / testtool

[testtool] src/main/java/com/descope/sdk/mgmt/UserService.java#L248 <com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck>

'method def modifier' has incorrect indentation level 4, expected level should be 2.
Raw output
/github/workspace/./src/main/java/com/descope/sdk/mgmt/UserService.java:248:5: error: 'method def modifier' has incorrect indentation level 4, expected level should be 2. (com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck)