File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -827,19 +827,19 @@ impl Loc for JavaCode {
827827 | EnhancedForStatement | ExpressionStatement | ForStatement | IfStatement
828828 | ReturnStatement | SwitchStatement | ThrowStatement | TryStatement
829829 | WhileStatement => {
830- stats. logical_lines += 1 ;
830+ stats. lloc . logical_lines += 1 ;
831831 }
832832 LocalVariableDeclaration => {
833833 if count_specific_ancestors ! ( node, ForStatement , Block ) == 0 {
834834 // The initializer, condition, and increment in a for loop are expressions.
835835 // Don't count the variable declaration if in a ForStatement.
836836 // https://docs.oracle.com/javase/tutorial/java/nutsandbolts/for.html
837- stats. logical_lines += 1 ;
837+ stats. lloc . logical_lines += 1 ;
838838 }
839839 }
840840 _ => {
841841 check_comment_ends_on_code_line ( stats, start) ;
842- stats. lines . insert ( start) ;
842+ stats. ploc . lines . insert ( start) ;
843843 }
844844 }
845845 }
You can’t perform that action at this time.
0 commit comments