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) * Oh well, here's to encapsulation and abstraction! (raises glass)
*/ */
public interface RipperInterface { public interface RipperInterface {
public void rip() throws IOException; void rip() throws IOException;
public boolean canRip(URL url); boolean canRip(URL url);
public URL sanitizeURL(URL url) throws MalformedURLException; URL sanitizeURL(URL url) throws MalformedURLException;
public void setWorkingDir(URL url) throws IOException; void setWorkingDir(URL url) throws IOException;
public String getHost(); String getHost();
public String getGID(URL url) throws MalformedURLException; String getGID(URL url) throws MalformedURLException;
} }

View File

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