Rename RevealerFacade to Revealer

This commit is contained in:
Armin Schrenk
2021-01-21 15:29:04 +01:00
parent d5eb84a000
commit 8977440697
8 changed files with 13 additions and 14 deletions
@@ -52,7 +52,7 @@ public class DokanyVolume extends AbstractVolume {
}
@Override
public void reveal(RevealerFacade revealer) throws VolumeException {
public void reveal(Revealer revealer) throws VolumeException {
try {
mount.reveal(revealer::reveal);
} catch (Exception e) {
@@ -72,7 +72,7 @@ public class FuseVolume extends AbstractVolume {
}
@Override
public void reveal(RevealerFacade revealer) throws VolumeException {
public void reveal(Revealer revealer) throws VolumeException {
try {
mount.reveal(revealer::reveal);
} catch (Exception e) {
@@ -148,7 +148,7 @@ public class Vault {
}
}
public void reveal(Volume.RevealerFacade vaultRevealer) throws VolumeException {
public void reveal(Volume.Revealer vaultRevealer) throws VolumeException {
volume.reveal(vaultRevealer);
}
@@ -42,7 +42,7 @@ public interface Volume {
* @param revealer An object capable of revealing the location of the mounted vault to view the content (e.g. in the default file browser).
* @throws VolumeException
*/
void reveal(RevealerFacade revealer) throws VolumeException;
void reveal(Revealer revealer) throws VolumeException;
void unmount() throws VolumeException;
@@ -91,7 +91,7 @@ public interface Volume {
* Hides and unifies the different Revealer implementations in the different nio-adapters.
*/
@FunctionalInterface
interface RevealerFacade {
interface Revealer {
void reveal(Path p) throws VolumeException;
@@ -73,7 +73,7 @@ public class WebDavVolume implements Volume {
}
@Override
public void reveal(RevealerFacade revealer) throws VolumeException {
public void reveal(Revealer revealer) throws VolumeException {
try {
mount.reveal(revealer::reveal);
} catch (Exception e) {