Skip to content

Commit 57bdb95

Browse files
committed
Attempt to mitigate travis ci's mysterious "cannot find symbol: class Retention" errors
1 parent b03fda5 commit 57bdb95

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,6 @@ public int getCode() {
3232
return code;
3333
}
3434

35-
@Retention(RetentionPolicy.RUNTIME)
36-
public @interface ErrorCode {
37-
int value();
38-
}
39-
4035
public static class CLVersionException extends CLException {
4136
public CLVersionException(String message) {
4237
super(message, 0);
@@ -272,3 +267,8 @@ public static void error(int err) {
272267
throw toThrow;
273268
}
274269
}
270+
271+
@Retention(RetentionPolicy.RUNTIME)
272+
@interface ErrorCode {
273+
int value();
274+
}

0 commit comments

Comments
 (0)