Skip to content

Commit

Permalink
Merge pull request #222 from ipfs-shipyard/fix/addargs-visibility
Browse files Browse the repository at this point in the history
fix visibility of AddArgs class
  • Loading branch information
kevodwyer authored Mar 13, 2023
2 parents 2a8edec + 57b450a commit ee0ac78
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/io/ipfs/api/AddArgs.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
.setCidVersion(1)
.build();
*/
final class AddArgs {
public final class AddArgs {

private final Map<String, String> args = new HashMap<>();

Expand Down
4 changes: 3 additions & 1 deletion src/test/java/io/ipfs/api/APITest.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@
@SuppressWarnings({"rawtypes", "unused"})
public class APITest {

private final IPFS ipfs = new IPFS(new MultiAddress("/ip4/127.0.0.1/tcp/5001"));
private final MultiAddress ipfsAddress = new MultiAddress("/ip4/127.0.0.1/tcp/5001");
private final IPFS ipfs = new IPFS(ipfsAddress.getHost(), ipfsAddress.getPort(), "/api/v0/", true, false);

private final Random r = new Random(33550336); // perfect

@Test
Expand Down

0 comments on commit ee0ac78

Please sign in to comment.