Skip to content

Commit

Permalink
Merge pull request #547 from Gaboso/interfaces
Browse files Browse the repository at this point in the history
Removed public modifier for methods on interfaces because it is redundant
  • Loading branch information
metaprime committed May 18, 2017
2 parents 8bfd15e + c4ee756 commit 89df4d7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
14 changes: 7 additions & 7 deletions src/main/java/com/rarchives/ripme/ripper/RipperInterface.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
* 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;
}
6 changes: 2 additions & 4 deletions src/main/java/com/rarchives/ripme/ui/RipStatusHandler.java
Original file line number Diff line number Diff line change
@@ -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);

}
}

0 comments on commit 89df4d7

Please sign in to comment.