Bump daggerVersion from 2.47 to 2.48 in /Plan (#3187)

* Bump daggerVersion from 2.47 to 2.48 in /Plan

Bumps `daggerVersion` from 2.47 to 2.48.

Updates `com.google.dagger:dagger` from 2.47 to 2.48
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.47...dagger-2.48)

Updates `com.google.dagger:dagger-compiler` from 2.47 to 2.48
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.47...dagger-2.48)

---
updated-dependencies:
- dependency-name: com.google.dagger:dagger
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.google.dagger:dagger-compiler
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix duplicate binding issue

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aurora Lahtela <24460436+AuroraLS3@users.noreply.github.com>
This commit is contained in:
dependabot[bot] 2023-10-01 16:55:19 +03:00 committed by GitHub
parent fbddd7dd50
commit 7ba3dd23f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 9 deletions

View File

@ -67,7 +67,7 @@ subprojects {
}
ext {
daggerVersion = "2.47"
daggerVersion = "2.48"
palVersion = "5.1.0"

View File

@ -40,5 +40,5 @@ public interface BungeeSuperClassBindingModule {
ListenerSystem bindListenerSystem(BungeeListenerSystem listenerSystem);
@Binds
ServerSensor<Object> bindServerSensor(BungeeSensor sensor);
ServerSensor<?> bindServerSensor(BungeeSensor sensor);
}

View File

@ -39,7 +39,7 @@ import java.util.concurrent.TimeUnit;
@Singleton
public class ProxyTPSCounter extends TPSCounter {
private final ServerSensor<Object> serverSensor;
private final ServerSensor<?> serverSensor;
private final SystemUsageBuffer systemUsage;
private final DBSystem dbSystem;
private final ServerInfo serverInfo;
@ -49,7 +49,7 @@ public class ProxyTPSCounter extends TPSCounter {
@Inject
public ProxyTPSCounter(
ServerSensor<Object> serverSensor,
ServerSensor<?> serverSensor,
SystemUsageBuffer systemUsage,
DBSystem dbSystem,
ServerInfo serverInfo,

View File

@ -16,7 +16,6 @@
*/
package com.djrapitops.plan.modules;
import com.djrapitops.plan.gathering.ServerSensor;
import com.djrapitops.plan.settings.ConfigSystem;
import com.djrapitops.plan.settings.ProxyConfigSystem;
import com.djrapitops.plan.storage.database.DBSystem;
@ -38,7 +37,4 @@ public interface ProxySuperClassBindingModule {
@Binds
ConfigSystem bindConfigSystem(ProxyConfigSystem configSystem);
@Binds
ServerSensor<?> bindServerSensor(ServerSensor<Object> sensor);
}

View File

@ -40,5 +40,5 @@ public interface VelocitySuperClassBindingModule {
ListenerSystem bindListenerSystem(VelocityListenerSystem listenerSystem);
@Binds
ServerSensor<Object> bindServerSensor(VelocitySensor sensor);
ServerSensor<?> bindServerSensor(VelocitySensor sensor);
}