Skip to content

Commit f5b9963

Browse files
committed
travis ci: retention is driving me crazy
1 parent 57bdb95 commit f5b9963

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

Core/src/main/velocity/com/nativelibs4java/opencl/CLException.java

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010

1111
import org.bridj.*;
1212

13-
import java.lang.annotation.Retention;
14-
import java.lang.annotation.RetentionPolicy;
1513
import java.util.*;
1614
import java.lang.reflect.*;
1715
import java.util.logging.Level;
@@ -32,6 +30,11 @@ public int getCode() {
3230
return code;
3331
}
3432

33+
@java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.RUNTIME)
34+
@interface ErrorCode {
35+
int value();
36+
}
37+
3538
public static class CLVersionException extends CLException {
3639
public CLVersionException(String message) {
3740
super(message, 0);
@@ -268,7 +271,3 @@ public static void error(int err) {
268271
}
269272
}
270273

271-
@Retention(RetentionPolicy.RUNTIME)
272-
@interface ErrorCode {
273-
int value();
274-
}

0 commit comments

Comments
 (0)