-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
change: Disable SyntheticAccessor lint rule (#424)
Does not appear to be adding value, and R8 optimises the code to remove the generated accessors.
- Loading branch information
1 parent
5a51310
commit d01c72b
Showing
11 changed files
with
7 additions
and
1,807 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,70 +1,4 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<issues format="6" by="lint 8.1.2" type="baseline" client="gradle" dependencies="false" name="AGP (8.1.2)" variant="all" version="8.1.2"> | ||
|
||
<issue | ||
id="SyntheticAccessor" | ||
message="Access to `private` method `isSameDate` of class `Companion` requires synthetic accessor" | ||
errorLine1=" isSameDate(time, now, tz) -> sameDaySdf.format(time)" | ||
errorLine2=" ~~~~~~~~~~"> | ||
<location | ||
file="src/main/kotlin/app/pachli/core/common/util/AbsoluteTimeFormatter.kt" | ||
line="36" | ||
column="13"/> | ||
</issue> | ||
|
||
<issue | ||
id="SyntheticAccessor" | ||
message="Access to `private` method `isSameDate` of class `Companion` requires synthetic accessor" | ||
errorLine1=" isSameDate(time, now, tz) -> sameDaySdf.format(time)" | ||
errorLine2=" ~~~~~~~~~~"> | ||
<location | ||
file="src/main/kotlin/app/pachli/core/common/util/AbsoluteTimeFormatter.kt" | ||
line="36" | ||
column="13"/> | ||
</issue> | ||
|
||
<issue | ||
id="SyntheticAccessor" | ||
message="Access to `private` method `isSameDate` of class `Companion` requires synthetic accessor" | ||
errorLine1=" isSameDate(time, now, tz) -> sameDaySdf.format(time)" | ||
errorLine2=" ~~~~~~~~~~"> | ||
<location | ||
file="src/main/kotlin/app/pachli/core/common/util/AbsoluteTimeFormatter.kt" | ||
line="36" | ||
column="13"/> | ||
</issue> | ||
|
||
<issue | ||
id="SyntheticAccessor" | ||
message="Access to `private` method `isSameYear` of class `Companion` requires synthetic accessor" | ||
errorLine1=" isSameYear(time, now, tz) -> sameYearSdf.format(time)" | ||
errorLine2=" ~~~~~~~~~~"> | ||
<location | ||
file="src/main/kotlin/app/pachli/core/common/util/AbsoluteTimeFormatter.kt" | ||
line="37" | ||
column="13"/> | ||
</issue> | ||
|
||
<issue | ||
id="SyntheticAccessor" | ||
message="Access to `private` method `isSameYear` of class `Companion` requires synthetic accessor" | ||
errorLine1=" isSameYear(time, now, tz) -> sameYearSdf.format(time)" | ||
errorLine2=" ~~~~~~~~~~"> | ||
<location | ||
file="src/main/kotlin/app/pachli/core/common/util/AbsoluteTimeFormatter.kt" | ||
line="37" | ||
column="13"/> | ||
</issue> | ||
|
||
<issue | ||
id="SyntheticAccessor" | ||
message="Access to `private` method `isSameYear` of class `Companion` requires synthetic accessor" | ||
errorLine1=" isSameYear(time, now, tz) -> sameYearSdf.format(time)" | ||
errorLine2=" ~~~~~~~~~~"> | ||
<location | ||
file="src/main/kotlin/app/pachli/core/common/util/AbsoluteTimeFormatter.kt" | ||
line="37" | ||
column="13"/> | ||
</issue> | ||
<issues format="6" by="lint 8.2.2" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.2)" variant="all" version="8.2.2"> | ||
|
||
</issues> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,4 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<issues format="6" by="lint 8.2.0" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0)" variant="all" version="8.2.0"> | ||
|
||
<issue | ||
id="SyntheticAccessor" | ||
message="Access to `private` method `swapHost` of class `Companion` requires synthetic accessor" | ||
errorLine1=" builder.url(swapHost(originalRequest.url, instanceHeader))" | ||
errorLine2=" ~~~~~~~~"> | ||
<location | ||
file="src/main/kotlin/app/pachli/core/network/retrofit/InstanceSwitchAuthInterceptor.kt" | ||
line="54" | ||
column="29"/> | ||
</issue> | ||
|
||
<issue | ||
id="SyntheticAccessor" | ||
message="Access to `private` method `swapHost` of class `Companion` requires synthetic accessor" | ||
errorLine1=" builder.url(swapHost(originalRequest.url, it.domain))" | ||
errorLine2=" ~~~~~~~~"> | ||
<location | ||
file="src/main/kotlin/app/pachli/core/network/retrofit/InstanceSwitchAuthInterceptor.kt" | ||
line="59" | ||
column="37"/> | ||
</issue> | ||
<issues format="6" by="lint 8.2.2" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.2)" variant="all" version="8.2.2"> | ||
|
||
</issues> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters