forked from akka/akka
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request akka#17354 from akka/wip-17342-bc-patriknw
= akka#17342 Make 2.4 binary compatible with 2.3
- Loading branch information
Showing
56 changed files
with
1,150 additions
and
197 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
akka-actor/src/main/boilerplate/akka/japi/function/Functions.scala.template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/** | ||
* Copyright (C) 2015 Typesafe Inc. <http://www.typesafe.com> | ||
*/ | ||
package akka.japi.function | ||
|
||
[3..22#/** | ||
* A Function interface. Used to create 1-arg first-class-functions is Java. | ||
* `Serializable` is needed to be able to grab line number for Java 8 lambdas. | ||
*/ | ||
@SerialVersionUID(##1L) | ||
trait Function1[[#-T1#], +R] extends java.io.Serializable { | ||
@throws(classOf[Exception]) | ||
def apply([#arg1: T1#]): R | ||
}# | ||
|
||
] | ||
|
||
[2..#/** | ||
* A Consumer interface. Used to create 1-arg consumers in Java. | ||
* A Procedure is like a Function, but it doesn't produce a return value. | ||
* `Serializable` is needed to be able to grab line number for Java 8 lambdas. | ||
*/ | ||
@SerialVersionUID(##1L) | ||
trait Procedure1[[#-T1#]] extends java.io.Serializable { | ||
@throws(classOf[Exception]) | ||
def apply([#arg1: T1#]): Unit | ||
}# | ||
|
||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.