Builder.build()スレッドは安全ですか?XOMJavadocに情報が見つかりませんでした。
1 に答える
2
Builder
doesn't tell us that one of the builder methods is thread-safe and we have no reason to assume it: the methods are not synchronized (look at the code) and the class uses the first available parser and delegates the work.
So we should avoid sharing one instance of nu.xom.Builder
between different threads.
于 2011-09-01T07:28:55.357 に答える