mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-06 16:37:38 +01:00
More final
This commit is contained in:
parent
34e2f4d022
commit
c859a8e148
@ -2,8 +2,8 @@ package net.minestom.server.utils.incubator;
|
|||||||
|
|
||||||
import org.jetbrains.annotations.NotNull;
|
import org.jetbrains.annotations.NotNull;
|
||||||
|
|
||||||
class VecImpl {
|
final class VecImpl {
|
||||||
static class Vec3 implements Vec {
|
static final class Vec3 implements Vec {
|
||||||
private final double x, y, z;
|
private final double x, y, z;
|
||||||
|
|
||||||
Vec3(double x, double y, double z) {
|
Vec3(double x, double y, double z) {
|
||||||
@ -37,7 +37,7 @@ class VecImpl {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static class Tuple implements Vec {
|
static final class Tuple implements Vec {
|
||||||
private final double x, z;
|
private final double x, z;
|
||||||
|
|
||||||
Tuple(double x, double z) {
|
Tuple(double x, double z) {
|
||||||
@ -66,7 +66,7 @@ class VecImpl {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static class Single implements Vec {
|
static final class Single implements Vec {
|
||||||
private final double value;
|
private final double value;
|
||||||
|
|
||||||
Single(double value) {
|
Single(double value) {
|
||||||
|
Loading…
Reference in New Issue
Block a user