We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82bc044 commit a61f1a5Copy full SHA for a61f1a5
1 file changed
src/net/sharksystem/asap/ASAP.java
@@ -4,14 +4,14 @@ public class ASAP {
4
public static final int INITIAL_ERA = 0;
5
public static final int MAX_ERA = Integer.MAX_VALUE;
6
7
- static int nextEra(int workingEra) {
+ public static int nextEra(int workingEra) {
8
if(workingEra == ASAP.MAX_ERA) {
9
return ASAP.INITIAL_ERA;
10
}
11
return workingEra+1;
12
13
14
- static int previousEra(int workingEra) {
+ public static int previousEra(int workingEra) {
15
if(workingEra == ASAP.INITIAL_ERA) {
16
return ASAP.MAX_ERA;
17
0 commit comments