Comments (3)
i wonder if this method is even called anywhere lol, checking
from java-ipfs-http-client.
maybe it's something more advanced in Java than what i know, but the note states that it's supposed to return the current IPFS object with modified timeout(s)
but it returns a new object
if it's supposed to return a new object, then yeah it should be static
if it's supposed to return the current object, then it should just be a setter that returns the current object and not a new object (this latter part im not 100% certain of, it's just how i'd write it)
oh, the timeout fields are final, so it's not a setter method
it has to return a new object because the fields are final
i remember something about this when learning Rust... Rust's variables are all final by default (immutable), i forgot why tho
https://youtu.be/iFdh4sPC5Tg?t=188
oh it's just for safety when passing it around
so it seems like it's all correct, just the note is kind of tricky for me lol
from java-ipfs-http-client.
Fixed merged
from java-ipfs-http-client.
Related Issues (20)
- key.list() or .gen() always throw io.ipfs.cid.Cid$CidEncodingException: Invalid cid bytes HOT 2
- IPFS.add: How the set options when adding file to IPFS? HOT 3
- IOException contacting IPFS daemon HOT 3
- Exception thrown for ipfs.key.list() HOT 3
- Is Project Dead? HOT 14
- Looking for a maintainer familiar with Java! π HOT 4
- mvn test fails with java.net.SocketTimeoutException: Read timed out HOT 2
- Potential numeric overflow in JSONParser.java. can't handle complete uint64 range from kubo rpc api. HOT 1
- java-ipfs-http-client-v1.3.3 cannot support base1 encoding for ipfs v0.15.0 HOT 1
- is v1.3.4 release coming? HOT 2
- v1.4.0 does not support java8 HOT 1
- Dual build definitions HOT 6
- When a large file is uploaded, the heap resources are not released HOT 2
- AddArgs HOT 2
- Have code used unixfs.proto DataType HOT 1
- Why not use entity objects HOT 1
- Question ? HOT 1
- when i use pubsub shutdown ipfs will bug HOT 1
- δΈδΌ θΏεθ·―εΎ HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from java-ipfs-http-client.