Skip to content

Commit

Permalink
fx
Browse files Browse the repository at this point in the history
  • Loading branch information
0blivious committed Apr 3, 2020
1 parent 2f4f0e5 commit 0719ba2
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 22 deletions.
Expand Up @@ -104,8 +104,8 @@ public void visitJavadocToken(DetailNode detailNode) {
}

if (textNode != null && textNode.getType() != JavadocTokenTypes.EOF) {
String text = textNode.getText();
int lastAsteriskPosition = getLastLeadingAsteriskPosition(text);
final String text = textNode.getText();
final int lastAsteriskPosition = getLastLeadingAsteriskPosition(text);

if (!isLast(lastAsteriskPosition, text)
&& !Character.isWhitespace(text.charAt(lastAsteriskPosition + 1))) {
Expand Down
Expand Up @@ -3,71 +3,68 @@


/***
* Some Javadoc.
* Some Javadoc with tab.
*
* <p>Some Javadoc.
* <p>Some Javadoc with tab.
***/
class InputJavadocMissingWhitespaceAfterAsteriskValidWithTab
{
/**
* Some Javadoc.
* Some Javadoc with tab.
*
* <p>Some Javadoc.
* <p>Some Javadoc with tab.
*
* @see Something
* @see Something with tab
**/
class InnerInputJavadocMissingWhitespaceAfterAsteriskValid {

/**
* Some Javadoc.
* Some Javadoc with tab.
*/
public static final byte NUL = 0;

/**
* Some Javadoc.
* Some Javadoc with tab.
*
* <p>Some Javadoc.
* <p>Some Javadoc with tab.
*/
void bar1() {}

/******** Some Javadoc. *******/
/******** Some Javadoc with tab. *******/
void bar2() {}
}

/****
*
* Some Javadoc.
* @see Something
* Some Javadoc with tab.
* @see Something with tab
****/
void foo1() {}


/**
* Some Javadoc.
* Some Javadoc with tab.
*/
public static final int foo2 = 0;

/**
* Some javadoc.
* Some javadoc with tab.
*/
enum Foo3 {}

/**
* <pre>
* Some javadoc.
* Some javadoc with tab.
* </pre>
**/
interface Foo4 {}

/***/
/** */
void foo5() {}

/** Some Javadoc. **/
/** Some Javadoc with tab. **/
void foo6() {}

/** * Some Javadoc. */
/** * Some Javadoc with tab. */
void foo7() {}

/** */
void foo8() {}
}

0 comments on commit 0719ba2

Please sign in to comment.