mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2024-11-26 04:25:37 +01:00
Fixed HideUtilityClassConstructorCheck
This commit is contained in:
parent
ae27a34bb0
commit
ca21047859
@ -10,6 +10,8 @@ package com.onarandombox.MultiverseCore.utils;
|
|||||||
import java.io.File;
|
import java.io.File;
|
||||||
|
|
||||||
public class FileUtils {
|
public class FileUtils {
|
||||||
|
private FileUtils() { }
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Delete a folder Courtesy of: lithium3141
|
* Delete a folder Courtesy of: lithium3141
|
||||||
*
|
*
|
||||||
|
@ -20,6 +20,8 @@ import java.util.HashMap;
|
|||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
public class LocationManipulation {
|
public class LocationManipulation {
|
||||||
|
private LocationManipulation() { }
|
||||||
|
|
||||||
private static Map<String, Integer> orientationInts = new HashMap<String, Integer>();
|
private static Map<String, Integer> orientationInts = new HashMap<String, Integer>();
|
||||||
|
|
||||||
static {
|
static {
|
||||||
@ -31,7 +33,6 @@ public class LocationManipulation {
|
|||||||
orientationInts.put("sw", 45);
|
orientationInts.put("sw", 45);
|
||||||
orientationInts.put("w", 90);
|
orientationInts.put("w", 90);
|
||||||
orientationInts.put("nw", 135);
|
orientationInts.put("nw", 135);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
package com.onarandombox.MultiverseCore.utils.webpaste;
|
package com.onarandombox.MultiverseCore.utils.webpaste;
|
||||||
|
|
||||||
public class PasteServiceFactory {
|
public class PasteServiceFactory {
|
||||||
|
private PasteServiceFactory() { }
|
||||||
|
|
||||||
public static PasteService getService(PasteServiceType type, boolean isPrivate) {
|
public static PasteService getService(PasteServiceType type, boolean isPrivate) {
|
||||||
switch(type) {
|
switch(type) {
|
||||||
case PASTEBIN: return new PastebinPasteService(isPrivate);
|
case PASTEBIN: return new PastebinPasteService(isPrivate);
|
||||||
|
Loading…
Reference in New Issue
Block a user