File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed
voicechat/src/main/java/net/labymod/serverapi/integration/voicechat/model Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 1818 uses : actions/setup-java@v3
1919 with :
2020 distribution : ' temurin'
21- java-version : ' 8 '
21+ java-version : ' 17 '
2222 - name : Grant execute permission for gradlew
2323 run : chmod +x gradlew
2424 - name : Build Release Artifacts with Gradle
Original file line number Diff line number Diff line change @@ -57,8 +57,8 @@ subprojects {
5757 }
5858
5959 java {
60- sourceCompatibility = JavaVersion .VERSION_1_8
61- targetCompatibility = JavaVersion .VERSION_1_8
60+ sourceCompatibility = JavaVersion .VERSION_17
61+ targetCompatibility = JavaVersion .VERSION_17
6262 }
6363
6464 fun adjustArchiveFileName (property : Property <String >) {
Original file line number Diff line number Diff line change @@ -99,11 +99,10 @@ public boolean equals(Object o) {
9999 return true ;
100100 }
101101
102- if (!(o instanceof VoiceChatMute )) {
102+ if (!(o instanceof VoiceChatMute that )) {
103103 return false ;
104104 }
105105
106- VoiceChatMute that = (VoiceChatMute ) o ;
107106 return this .end == that .end && Objects .equals (this .uniqueId , that .uniqueId )
108107 && Objects .equals (this .reason , that .reason );
109108 }
You can’t perform that action at this time.
0 commit comments