@@ -19,21 +19,21 @@ public interface TrustyUriModule {
1919 *
2020 * @return the module ID
2121 */
22- public String getModuleId ();
22+ String getModuleId ();
2323
2424 /**
2525 * Returns the algorithm ID used for the transformation to ni-URIs.
2626 *
2727 * @return the algorithm ID
2828 */
29- public String getAlgorithmId ();
29+ String getAlgorithmId ();
3030
3131 /**
3232 * Returns the length of the trusty URI data part in bytes.
3333 *
3434 * @return data part length
3535 */
36- public int getDataPartLength ();
36+ int getDataPartLength ();
3737
3838 /**
3939 * Checks the hash for the given resource.
@@ -43,7 +43,7 @@ public interface TrustyUriModule {
4343 * @throws IOException if an I/O error occurs
4444 * @throws TrustyUriException if the trusty URI is invalid
4545 */
46- public boolean hasCorrectHash (TrustyUriResource resource ) throws IOException , TrustyUriException ;
46+ boolean hasCorrectHash (TrustyUriResource resource ) throws IOException , TrustyUriException ;
4747
4848 /**
4949 * Fixes the trusty URI of the given file by calculating the correct hash and renaming the file
@@ -53,14 +53,14 @@ public interface TrustyUriModule {
5353 * @throws TrustyUriException if the trusty URI is invalid
5454 * @throws UnsupportedOperationException if the module does not support fixing trusty URIs
5555 */
56- public void fixTrustyFile (File file ) throws IOException , TrustyUriException , UnsupportedOperationException ;
56+ void fixTrustyFile (File file ) throws IOException , TrustyUriException , UnsupportedOperationException ;
5757
5858 /**
5959 * Checks whether the given URI could be a trusty URI represented by this module.
6060 *
6161 * @param uri the URI
6262 * @return true if the URI matches the format of this module
6363 */
64- public boolean matches (IRI uri );
64+ boolean matches (IRI uri );
6565
6666}
0 commit comments