Skip to content

Commit

Permalink
added class copy notice
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas committed Jun 21, 2023
1 parent b7e06ee commit 3a96f71
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
* This file is part of the Apache Pekko project, derived from Akka.
*/

// test code copied from JunitIntegrationTest.java

This comment has been minimized.

Copy link
@pjfanning

pjfanning Jun 21, 2023

Contributor

Kind of what I meant is that if JunitIntegrationTest.java has a license header then this file needs it too. But it is useful to have the code comment too so people can trace why the license headers appear in a given file.


package jdocs.org.apache.pekko.actor.testkit.typed.javadsl;

import org.apache.pekko.actor.Address;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
package jdocs.org.apache.pekko.actor.testkit.typed.javadsl;

// #log-capturing-junit5

import org.apache.pekko.actor.testkit.typed.javadsl.*;
import org.apache.pekko.actor.testkit.typed.javadsl.Junit5TestKitBuilder;
import org.apache.pekko.actor.typed.ActorRef;
Expand All @@ -20,6 +21,8 @@

import static jdocs.org.apache.pekko.actor.testkit.typed.javadsl.AsyncTestingExampleTest.Echo;

// test code copied from LogCapturingExampleTest.java

@DisplayName("Junit5 log capturing")
@ExtendWith(TestKitJunit5Extension.class)
@ExtendWith(LogCapturingExtension.class)
Expand Down

0 comments on commit 3a96f71

Please sign in to comment.