Removed public modifier for methods on interfaces because it is redundant.

This commit is contained in:
Gaboso 2017-05-18 01:44:51 -04:00
parent d36a5f72e5
commit 44fe9885ab
2 changed files with 16 additions and 11 deletions

View File

@ -9,10 +9,17 @@ import java.net.URL;
* Oh well, here's to encapsulation and abstraction! (raises glass)
*/
public interface RipperInterface {
public void rip() throws IOException;
public boolean canRip(URL url);
public URL sanitizeURL(URL url) throws MalformedURLException;
public void setWorkingDir(URL url) throws IOException;
public String getHost();
public String getGID(URL url) throws MalformedURLException;
}
void rip() throws IOException;
boolean canRip(URL url);
URL sanitizeURL(URL url) throws MalformedURLException;
void setWorkingDir(URL url) throws IOException;
String getHost();
String getGID(URL url) throws MalformedURLException;
}

View File

@ -1,14 +1,12 @@
package com.rarchives.ripme.ui;
import com.rarchives.ripme.ripper.AbstractRipper;
/**
*
* @author Mads
*/
public interface RipStatusHandler {
public void update(AbstractRipper ripper, RipStatusMessage message);
void update(AbstractRipper ripper, RipStatusMessage message);
}
}