Skip to content

Commit

Permalink
Fixing smoke tests indenting and prefer bitwise not comment javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
manumafe98 committed Mar 5, 2024
1 parent 14b9042 commit 63b9311
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 41 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import analyzer.Comment;

/**
* @see <a href="https://github.com/exercism/website-copy/blob/main/analyzer-comments/java/secrets/implement_operator.md">Markdown Template</a>
* @see <a href="https://github.com/exercism/website-copy/blob/main/analyzer-comments/java/secrets/prefer_bitwise_not.md">Markdown Template</a>
*/
class PreferBitwiseNot extends Comment {

Expand Down
24 changes: 12 additions & 12 deletions tests/secrets/no-bitwise-not-used/expected_analysis.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"comments": [
{
"comment": "java.secrets.prefer_bitwise_not",
"params": {},
"type": "informative"
},
{
"comment": "java.general.feedback_request",
"params": {},
"type": "informative"
}
]
"comments": [
{
"comment": "java.secrets.prefer_bitwise_not",
"params": {},
"type": "informative"
},
{
"comment": "java.general.feedback_request",
"params": {},
"type": "informative"
}
]
}
28 changes: 14 additions & 14 deletions tests/secrets/no-bitwise-or-used/expected_analysis.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"comments": [
{
"comment": "java.secrets.implement_operator",
"params": {
"calledMethod": "setBits",
"operatorToUse": "|"
},
"type": "essential"
"comments": [
{
"comment": "java.secrets.implement_operator",
"params": {
"calledMethod": "setBits",
"operatorToUse": "|"
},
{
"comment": "java.general.feedback_request",
"params": {},
"type": "informative"
}
]
"type": "essential"
},
{
"comment": "java.general.feedback_request",
"params": {},
"type": "informative"
}
]
}
28 changes: 14 additions & 14 deletions tests/secrets/no-unsigned-right-shift-used/expected_analysis.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"comments": [
{
"comment": "java.secrets.implement_operator",
"params": {
"calledMethod": "shiftBack",
"operatorToUse": "\u003e\u003e\u003e"
},
"type": "essential"
"comments": [
{
"comment": "java.secrets.implement_operator",
"params": {
"calledMethod": "shiftBack",
"operatorToUse": "\u003e\u003e\u003e"
},
{
"comment": "java.general.feedback_request",
"params": {},
"type": "informative"
}
]
"type": "essential"
},
{
"comment": "java.general.feedback_request",
"params": {},
"type": "informative"
}
]
}

0 comments on commit 63b9311

Please sign in to comment.