File tree Expand file tree Collapse file tree 15 files changed +27
-151
lines changed
src/main/java/com/github/codestickers Expand file tree Collapse file tree 15 files changed +27
-151
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: build
2
2
on :
3
3
push :
4
4
branches :
5
- - master
5
+ - master-jdk7
6
6
jobs :
7
7
build :
8
8
runs-on : ubuntu-20.04
Original file line number Diff line number Diff line change 3
3
<modelVersion >4.0.0</modelVersion >
4
4
<groupId >com.github.codestickers</groupId >
5
5
<artifactId >codestickers</artifactId >
6
- <version >1.0.3 -SNAPSHOT</version >
6
+ <version >1.0.2-jdk7 -SNAPSHOT</version >
7
7
<packaging >jar</packaging >
8
8
<name >CodeStickers</name >
9
9
<description >A collection of useful java annotations.</description >
10
10
<properties >
11
11
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
12
12
<project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
13
- <java .version>1.8 </java .version>
13
+ <java .version>1.7 </java .version>
14
14
</properties >
15
15
<url >https://github.com/codestickers</url >
16
16
<developers >
Original file line number Diff line number Diff line change 2
2
3
3
import java .lang .annotation .Documented ;
4
4
import java .lang .annotation .ElementType ;
5
- import java .lang .annotation .Repeatable ;
6
5
import java .lang .annotation .Retention ;
7
6
import java .lang .annotation .RetentionPolicy ;
8
7
import java .lang .annotation .Target ;
18
17
ElementType .CONSTRUCTOR ,
19
18
ElementType .LOCAL_VARIABLE ,
20
19
ElementType .ANNOTATION_TYPE ,
21
- ElementType .PACKAGE ,
22
- ElementType .TYPE_PARAMETER ,
23
- ElementType .TYPE_USE })
20
+ ElementType .PACKAGE })
24
21
@ Documented
25
22
public @interface DoNotUse
26
23
{
Original file line number Diff line number Diff line change 1
1
package com .github .codestickers ;
2
2
3
- import java .lang .annotation .*;
3
+ import java .lang .annotation .Documented ;
4
+ import java .lang .annotation .ElementType ;
5
+ import java .lang .annotation .Retention ;
6
+ import java .lang .annotation .RetentionPolicy ;
7
+ import java .lang .annotation .Target ;
4
8
5
9
/**
6
10
* This annotations marks a fix me.
13
17
ElementType .CONSTRUCTOR ,
14
18
ElementType .LOCAL_VARIABLE ,
15
19
ElementType .ANNOTATION_TYPE ,
16
- ElementType .PACKAGE ,
17
- ElementType .TYPE_PARAMETER ,
18
- ElementType .TYPE_USE })
20
+ ElementType .PACKAGE })
19
21
@ Documented
20
- @ Repeatable (FixMes .class )
21
22
public @interface FixMe {
22
23
String value () default "" ;
23
24
}
Original file line number Diff line number Diff line change 17
17
ElementType .CONSTRUCTOR ,
18
18
ElementType .LOCAL_VARIABLE ,
19
19
ElementType .ANNOTATION_TYPE ,
20
- ElementType .PACKAGE ,
21
- ElementType .TYPE_PARAMETER ,
22
- ElementType .TYPE_USE })
20
+ ElementType .PACKAGE })
23
21
@ Documented
24
22
public @interface FixMes
25
23
{
Original file line number Diff line number Diff line change 2
2
3
3
import java .lang .annotation .Documented ;
4
4
import java .lang .annotation .ElementType ;
5
- import java .lang .annotation .Repeatable ;
6
5
import java .lang .annotation .Retention ;
7
6
import java .lang .annotation .RetentionPolicy ;
8
7
import java .lang .annotation .Target ;
18
17
ElementType .CONSTRUCTOR ,
19
18
ElementType .LOCAL_VARIABLE ,
20
19
ElementType .ANNOTATION_TYPE ,
21
- ElementType .PACKAGE ,
22
- ElementType .TYPE_PARAMETER ,
23
- ElementType .TYPE_USE })
20
+ ElementType .PACKAGE })
24
21
@ Documented
25
- @ Repeatable (Hints .class )
26
22
public @interface Hint {
27
23
String value () default "" ;
28
24
}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2
2
3
3
import java .lang .annotation .Documented ;
4
4
import java .lang .annotation .ElementType ;
5
- import java .lang .annotation .Repeatable ;
6
5
import java .lang .annotation .Retention ;
7
6
import java .lang .annotation .RetentionPolicy ;
8
7
import java .lang .annotation .Target ;
18
17
ElementType .CONSTRUCTOR ,
19
18
ElementType .LOCAL_VARIABLE ,
20
19
ElementType .ANNOTATION_TYPE ,
21
- ElementType .PACKAGE ,
22
- ElementType .TYPE_PARAMETER ,
23
- ElementType .TYPE_USE })
20
+ ElementType .PACKAGE })
24
21
@ Documented
25
- @ Repeatable (Notes .class )
26
22
public @interface Note
27
23
{
28
24
String value () default "" ;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2
2
3
3
import java .lang .annotation .Documented ;
4
4
import java .lang .annotation .ElementType ;
5
- import java .lang .annotation .Repeatable ;
6
5
import java .lang .annotation .Retention ;
7
6
import java .lang .annotation .RetentionPolicy ;
8
7
import java .lang .annotation .Target ;
18
17
ElementType .CONSTRUCTOR ,
19
18
ElementType .LOCAL_VARIABLE ,
20
19
ElementType .ANNOTATION_TYPE ,
21
- ElementType .PACKAGE ,
22
- ElementType .TYPE_PARAMETER ,
23
- ElementType .TYPE_USE })
20
+ ElementType .PACKAGE })
24
21
@ Documented
25
- @ Repeatable (Sees .class )
26
22
public @interface See {
27
23
String value () default "" ;
28
24
}
You can’t perform that action at this time.
0 commit comments