Merge pull request #547 from Gaboso/interfaces

Removed public modifier for methods on interfaces because it is redundant
This commit is contained in:
MetaPrime 2017-05-18 10:39:06 -07:00
commit 89df4d7812
2 changed files with 9 additions and 11 deletions

View File

@ -9,10 +9,10 @@ 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);
}
}