Skip to content

Commit

Permalink
Use long for id parameters as we do everywhere else
Browse files Browse the repository at this point in the history
  • Loading branch information
renner committed May 23, 2013
1 parent 09170d7 commit 65aceff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/suse/studio/client/SUSEStudio.java
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ public Repository importRepository(String name, String url) throws SUSEStudioExc
* Id of the repository to update.
* @throws SUSEStudioException
*/
public void refreshRepository(int id) throws SUSEStudioException {
public void refreshRepository(long id) throws SUSEStudioException {
if (id < 0) {
throw new IllegalArgumentException("The id cannot be negative");
}
Expand All @@ -379,7 +379,7 @@ public void refreshRepository(int id) throws SUSEStudioException {
* @return Returns the metadata for the repository.
* @throws SUSEStudioException
*/
public Repository getRepository(int id) throws SUSEStudioException {
public Repository getRepository(long id) throws SUSEStudioException {
if (id < 0) {
throw new IllegalArgumentException("The id cannot be negative");
}
Expand Down

0 comments on commit 65aceff

Please sign in to comment.