Archived
0

Sonar: [squid:S1118] Utility classes should not have public constructors

This commit is contained in:
2019-02-11 15:40:34 +03:00
parent d5b2557104
commit cade216ff4

View File

@@ -1,8 +1,11 @@
package mc.core.utils;
import lombok.AccessLevel;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;
@Slf4j
@NoArgsConstructor(access = AccessLevel.PRIVATE)
public class CompactedCoords {
public static int compressXZ(int x, int z) {
if (x < Short.MIN_VALUE || x > Short.MAX_VALUE ||