Commit eec8b45b authored by Tobias Meuser's avatar Tobias Meuser
Browse files

Adjusted method to fixed methods in interface

parent 5a51bd62
......@@ -21,13 +21,12 @@
package de.tud.kom.p2psim.impl.vehicular.caching.invalidation;
import de.tudarmstadt.maki.simonstrator.api.component.vehicular.caching.invalidation.CacheInvalidationStrategy;
import de.tudarmstadt.maki.simonstrator.api.component.vehicular.information.VehicularPointInformation;
import de.tudarmstadt.maki.simonstrator.api.component.vehicular.information.PointInformation;
public class DefaultCacheInvalidationStrategy implements CacheInvalidationStrategy {
@Override
public boolean checkInformation(
VehicularPointInformation pCachedInformation) {
public boolean checkInformation(PointInformation pCachedInformation) {
return false;
}
......
......@@ -21,15 +21,15 @@
package de.tud.kom.p2psim.impl.vehicular.caching.replacement;
import de.tudarmstadt.maki.simonstrator.api.component.vehicular.caching.replacement.CacheReplacementStrategy;
import de.tudarmstadt.maki.simonstrator.api.component.vehicular.information.VehicularPointInformation;
import de.tudarmstadt.maki.simonstrator.api.component.vehicular.information.PointInformation;
public class DefaultCacheReplacementStrategy implements CacheReplacementStrategy {
@Override
public boolean replaceInformation(
VehicularPointInformation pCachedInformation,
VehicularPointInformation pSensedInformation) {
return pCachedInformation.equals(pSensedInformation);
public boolean replaceInformation(PointInformation pCachedInformation,
PointInformation pSensedInformation) {
return true;
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment