You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: analyzer-comments/java/general/constructor_too_long.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# constructor too long
2
2
3
-
Consider breaking down the following constructor(s) into calls to other semantically meaningful methods: `%<constructorNames>s`
3
+
Consider breaking down the following constructor(s) into calls to other semantically meaningful methods: `%{constructorNames}`
4
4
5
5
The constructor has more lines of code than this exercise generally requires.
6
6
This might be acceptable, but it could be an indication that the constructor is doing too much work directly and should be delegating some of that work to other methods.
Consider breaking down the following method(s) into calls to other semantically meaningful methods: `%<methodNames>s`
3
+
Consider breaking down the following method(s) into calls to other semantically meaningful methods: `%{methodNames}`
4
4
5
5
The method has more lines of code than this exercise generally requires.
6
6
This might be acceptable, but it could be an indication that the method is doing too much work directly and should be delegating some of that work to other methods.
7
7
Try to keep everything inside a method at one level of abstraction.
8
-
For example, iterating through the elements of a loop could be in one method while manipulating each individual element could be in another.
8
+
For example, iterating through the elements of a loop could be in one method while manipulating each individual element could be in another.
0 commit comments