forked from yegor256/s3auth
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yegor256#173 Code review updates and some formatting changes
- Loading branch information
1 parent
e9eef1e
commit b548f86
Showing
3 changed files
with
31 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,6 +29,7 @@ | |
*/ | ||
package com.s3auth.hosts; | ||
|
||
import com.jcabi.aspects.Immutable; | ||
import java.io.IOException; | ||
import java.util.Map; | ||
|
||
|
@@ -38,6 +39,7 @@ | |
* @author Carlos Miranda ([email protected]) | ||
* @version $Id$ | ||
*/ | ||
@Immutable | ||
interface DomainStatsData { | ||
|
||
/** | ||
|
@@ -46,15 +48,15 @@ interface DomainStatsData { | |
* @param stats The stats to keep. | ||
* @throws IOException If something goes wrong. | ||
*/ | ||
void put(final String domain, final Stats stats) throws IOException; | ||
void put(String domain, Stats stats) throws IOException; | ||
|
||
/** | ||
* Get the stats for the given domain. | ||
* @param domain The domain whose stats we're interested in | ||
* @return The stats for this domain | ||
* @throws IOException If something goes wrong. | ||
*/ | ||
Stats get(final String domain) throws IOException; | ||
Stats get(String domain) throws IOException; | ||
|
||
/** | ||
* Get the stats for all domains. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters