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
22on :
33 push :
44 branches :
5- - master
5+ - master-jdk7
66jobs :
77 build :
88 runs-on : ubuntu-20.04
Original file line number Diff line number Diff line change 33 <modelVersion >4.0.0</modelVersion >
44 <groupId >com.github.codestickers</groupId >
55 <artifactId >codestickers</artifactId >
6- <version >1.0.3 -SNAPSHOT</version >
6+ <version >1.0.2-jdk7 -SNAPSHOT</version >
77 <packaging >jar</packaging >
88 <name >CodeStickers</name >
99 <description >A collection of useful java annotations.</description >
1010 <properties >
1111 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
1212 <project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
13- <java .version>1.8 </java .version>
13+ <java .version>1.7 </java .version>
1414 </properties >
1515 <url >https://github.com/codestickers</url >
1616 <developers >
Original file line number Diff line number Diff line change 22
33import java .lang .annotation .Documented ;
44import java .lang .annotation .ElementType ;
5- import java .lang .annotation .Repeatable ;
65import java .lang .annotation .Retention ;
76import java .lang .annotation .RetentionPolicy ;
87import java .lang .annotation .Target ;
1817 ElementType .CONSTRUCTOR ,
1918 ElementType .LOCAL_VARIABLE ,
2019 ElementType .ANNOTATION_TYPE ,
21- ElementType .PACKAGE ,
22- ElementType .TYPE_PARAMETER ,
23- ElementType .TYPE_USE })
20+ ElementType .PACKAGE })
2421@ Documented
2522public @interface DoNotUse
2623{
Original file line number Diff line number Diff line change 11package com .github .codestickers ;
22
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 ;
48
59/**
610 * This annotations marks a fix me.
1317 ElementType .CONSTRUCTOR ,
1418 ElementType .LOCAL_VARIABLE ,
1519 ElementType .ANNOTATION_TYPE ,
16- ElementType .PACKAGE ,
17- ElementType .TYPE_PARAMETER ,
18- ElementType .TYPE_USE })
20+ ElementType .PACKAGE })
1921@ Documented
20- @ Repeatable (FixMes .class )
2122public @interface FixMe {
2223 String value () default "" ;
2324}
Original file line number Diff line number Diff line change 1717 ElementType .CONSTRUCTOR ,
1818 ElementType .LOCAL_VARIABLE ,
1919 ElementType .ANNOTATION_TYPE ,
20- ElementType .PACKAGE ,
21- ElementType .TYPE_PARAMETER ,
22- ElementType .TYPE_USE })
20+ ElementType .PACKAGE })
2321@ Documented
2422public @interface FixMes
2523{
Original file line number Diff line number Diff line change 22
33import java .lang .annotation .Documented ;
44import java .lang .annotation .ElementType ;
5- import java .lang .annotation .Repeatable ;
65import java .lang .annotation .Retention ;
76import java .lang .annotation .RetentionPolicy ;
87import java .lang .annotation .Target ;
1817 ElementType .CONSTRUCTOR ,
1918 ElementType .LOCAL_VARIABLE ,
2019 ElementType .ANNOTATION_TYPE ,
21- ElementType .PACKAGE ,
22- ElementType .TYPE_PARAMETER ,
23- ElementType .TYPE_USE })
20+ ElementType .PACKAGE })
2421@ Documented
25- @ Repeatable (Hints .class )
2622public @interface Hint {
2723 String value () default "" ;
2824}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 22
33import java .lang .annotation .Documented ;
44import java .lang .annotation .ElementType ;
5- import java .lang .annotation .Repeatable ;
65import java .lang .annotation .Retention ;
76import java .lang .annotation .RetentionPolicy ;
87import java .lang .annotation .Target ;
1817 ElementType .CONSTRUCTOR ,
1918 ElementType .LOCAL_VARIABLE ,
2019 ElementType .ANNOTATION_TYPE ,
21- ElementType .PACKAGE ,
22- ElementType .TYPE_PARAMETER ,
23- ElementType .TYPE_USE })
20+ ElementType .PACKAGE })
2421@ Documented
25- @ Repeatable (Notes .class )
2622public @interface Note
2723{
2824 String value () default "" ;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 22
33import java .lang .annotation .Documented ;
44import java .lang .annotation .ElementType ;
5- import java .lang .annotation .Repeatable ;
65import java .lang .annotation .Retention ;
76import java .lang .annotation .RetentionPolicy ;
87import java .lang .annotation .Target ;
1817 ElementType .CONSTRUCTOR ,
1918 ElementType .LOCAL_VARIABLE ,
2019 ElementType .ANNOTATION_TYPE ,
21- ElementType .PACKAGE ,
22- ElementType .TYPE_PARAMETER ,
23- ElementType .TYPE_USE })
20+ ElementType .PACKAGE })
2421@ Documented
25- @ Repeatable (Sees .class )
2622public @interface See {
2723 String value () default "" ;
2824}
You can’t perform that action at this time.
0 commit comments