File tree Expand file tree Collapse file tree 4 files changed +13
-5
lines changed
src/main/java/com/mapzen/jpostal Expand file tree Collapse file tree 4 files changed +13
-5
lines changed Original file line number Diff line number Diff line change 11name : Build and Test
22on :
3- push :
3+ pull_request :
4+ branches :
5+ - main
46 workflow_call :
57
68jobs :
4951 uses : actions/setup-java@v4
5052 with :
5153 distribution : ' zulu'
52- java-version : 17 # Java 16+ is required for jpostal
54+ java-version : 11
5355
5456 # install & build jpostal
5557 - name : Checkout jpostal
Original file line number Diff line number Diff line change 11name : Release
22
33on :
4+ push :
5+ branches :
6+ - main
47 workflow_dispatch :
58
69jobs :
3235 uses : actions/setup-java@v4
3336 with :
3437 distribution : ' zulu'
35- java-version : 17 # Java 16+ is required for jpostal
38+ java-version : 11
3639 - name : Checkout jpostal
3740 uses : actions/checkout@v4
3841 with :
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ plugins {
99}
1010
1111group = ' com.wherobots'
12- version = ' 1.2.1 -SNAPSHOT'
12+ version = ' 1.2.2 -SNAPSHOT'
1313
1414repositories {
1515 mavenCentral()
@@ -113,6 +113,8 @@ jar {
113113
114114
115115java {
116+ sourceCompatibility = JavaVersion . VERSION_11
117+ targetCompatibility = JavaVersion . VERSION_11
116118 withJavadocJar()
117119 withSourcesJar()
118120}
Original file line number Diff line number Diff line change @@ -64,9 +64,10 @@ public String toString() {
6464 public boolean equals (final Object o ) {
6565 if (this == o ) {
6666 return true ;
67- } else if (!(o instanceof Config other )) {
67+ } else if (!(o instanceof Config )) {
6868 return false ;
6969 } else {
70+ Config other = (Config ) o ;
7071 return Objects .equals (this .dataDir , other .dataDir ) &&
7172 Objects .equals (this .libraryFile , other .libraryFile );
7273 }
You can’t perform that action at this time.
0 commit comments