commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mario Ivankovits <>
Subject Re: [vfs] proposal: FileUtils
Date Wed, 02 Feb 2005 14:36:57 GMT

Sorry for being late, but I have had an appointment day with one of our 

> public abstract class Backup implements IOOperation {
>     protected Backup(final FuPolicy policy) {
> And two implementations:
> public class NoBackup extends Backup { 
> public class SimpleBackup extends Backup { 

The only thing I do not understand is why you need the "policy" if you 
extend the Backup. The derived classes are the policy.
Else you should do somethink like NoBackupPolicy and SimpleBackupPolicy 
which will be passed to Backup.
But I think extending Backup (to implement different policies) is good 
enough and then you could drop the policy, no?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message