j8unit-team / j8unit

Enhancement for JUnit4 to take advantage of Java 8
4 stars 2 forks source link

Remove Dispensable Newline #13

Closed ghostcity closed 7 years ago

ghostcity commented 7 years ago

Currently, there is a dispensable newline between the J8Unit type's JavaDoc and its declaration. Example is:

 * [...]
 * @since 0.9.0
 */

@FunctionalInterface
@Category(J8UnitRepository.class)
public abstract interface ObjectTests<SUT extends Object>
extends RepositoryTests<SUT> {
  [...]

Remove these newlines and adopt the generator code accordingly.

ghostcity commented 7 years ago

There was a bug within the @SuppressWarningsannotation. Unless present, a single newline was generated.

Fixed!