Fixed HideUtilityClassConstructorCheck

This commit is contained in:
main() 2011-12-12 17:26:17 +01:00
parent ae27a34bb0
commit ca21047859
3 changed files with 6 additions and 1 deletions

View File

@ -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
* *

View File

@ -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);
} }
/** /**

View File

@ -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);