nextint -> nextInt (#394)

* 忽路->忽略

* 修复跳转链接错误

* fix Class.getInterface() -> Class.getInterfaces()

* 否者 -> 否则

* 编译期 -> 编译器 ,原文"the compiler will only allow you to say that the superclass reference is “some class that is a superclass of FancyToy” a"

* ierator -> iterator

* nextint -> nextInt
This commit is contained in:
Joe
2020-03-04 19:45:29 -06:00
committed by GitHub
parent 661d8cca57
commit da39cb240c

View File

@@ -1171,7 +1171,7 @@ class Part implements Supplier<Part> {
private static Random rand = new Random(47);
public Part get() {
int n = rand.nextint(prototypes.size());
int n = rand.nextInt(prototypes.size());
return prototypes.get(n).get();
}
}