|
@@ -31,7 +31,6 @@ import com.dmdirc.util.io.ConfigFile;
|
31
|
31
|
import com.dmdirc.util.io.InvalidConfigFileException;
|
32
|
32
|
import com.dmdirc.util.validators.Validator;
|
33
|
33
|
|
34
|
|
-import java.io.File;
|
35
|
34
|
import java.io.IOException;
|
36
|
35
|
import java.io.InputStream;
|
37
|
36
|
import java.nio.file.Path;
|
|
@@ -492,19 +491,6 @@ public class ConfigFileBackedConfigProvider extends BaseConfigProvider implement
|
492
|
491
|
return myTarget;
|
493
|
492
|
}
|
494
|
493
|
|
495
|
|
- /**
|
496
|
|
- * Determines if this identity is loaded from the specified File.
|
497
|
|
- *
|
498
|
|
- * @param target The file to be checked
|
499
|
|
- *
|
500
|
|
- * @return True if this identity comes from the target file, false otherwise
|
501
|
|
- *
|
502
|
|
- * @since 0.6.4
|
503
|
|
- */
|
504
|
|
- public boolean isFile(final File target) {
|
505
|
|
- return file.getFile() != null && file.getFile().equals(target);
|
506
|
|
- }
|
507
|
|
-
|
508
|
494
|
@Override
|
509
|
495
|
public void addListener(final ConfigChangeListener listener) {
|
510
|
496
|
listeners.add(listener);
|