Skip to content

Commit

Permalink
#656 Prohibit empty line at the start and at the end of javadoc: fix …
Browse files Browse the repository at this point in the history
…checkstyle part2
  • Loading branch information
dskalenko committed Feb 12, 2016
1 parent 7d85e5d commit 8847eca
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,11 @@ private static boolean isNodeHavingJavaDoc(final DetailAST node,
}

/**
* Returns line number of previous node
* @param node - Current node
* Returns line number of previous node.
* @param node Current node.
* @return Line number of previous node
*/
private static int getLineNoOfPreviousNode(final DetailAST node){
private static int getLineNoOfPreviousNode(final DetailAST node) {
int start = 0;
final DetailAST previous = node.getPreviousSibling();
if (null != previous) {
Expand Down

0 comments on commit 8847eca

Please sign in to comment.