mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 10:19:23 +02:00
GP-0: Fixing @Override warnings
This commit is contained in:
parent
d4120b4b4d
commit
a6cd5b5dbc
449 changed files with 2348 additions and 1276 deletions
|
@ -1,13 +1,12 @@
|
|||
/* ###
|
||||
* IP: GHIDRA
|
||||
* REVIEWED: YES
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
|
@ -36,10 +35,12 @@ public class DiffServiceProvider implements ServiceProvider {
|
|||
this.diffGoToService = new DiffGoToService(goToService, programDiffPlugin);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addServiceListener(ServiceListener listener) {
|
||||
serviceProvider.addServiceListener(listener);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T> T getService(Class<T> serviceClass) {
|
||||
if (serviceClass == ProgramManager.class) {
|
||||
return serviceClass.cast( diffProgramManager );
|
||||
|
@ -50,6 +51,7 @@ public class DiffServiceProvider implements ServiceProvider {
|
|||
return serviceProvider.getService(serviceClass);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeServiceListener(ServiceListener listener) {
|
||||
serviceProvider.removeServiceListener(listener);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue