Comment out debug. Fix TimeDiffUtil unit error message.
This commit is contained in:
parent
91a268e67e
commit
fac00c00f4
@ -149,7 +149,7 @@ public abstract class Property<O, V> implements Named
|
||||
public String getInheritedVisual(O object, O source, V value, CommandSender sender)
|
||||
{
|
||||
String string = this.getValueType().getVisual(value, sender);
|
||||
if (string == null)
|
||||
/*if (string == null)
|
||||
{
|
||||
System.out.println("value type " + this.getValueType());
|
||||
System.out.println("value type name" + this.getValueType().getTypeName());
|
||||
@ -157,7 +157,7 @@ public abstract class Property<O, V> implements Named
|
||||
System.out.println("source " + source);
|
||||
System.out.println("value " + value);
|
||||
System.out.println("sender " + sender);
|
||||
}
|
||||
}*/
|
||||
|
||||
String suffix = null;
|
||||
if (source != null && ! source.equals(object))
|
||||
|
@ -49,6 +49,4 @@ public class TypeMillisDiff extends TypeAbstractException<Long>
|
||||
return Collections.emptySet();
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
@ -94,7 +94,7 @@ public class TimeDiffUtil
|
||||
TimeUnit unit = TimeUnit.get(unitString);
|
||||
if (unit == null)
|
||||
{
|
||||
throw new Exception("\""+unit+"\" is not a valid time unit.");
|
||||
throw new Exception("\""+unitString+"\" is not a valid time unit.");
|
||||
}
|
||||
|
||||
// Add to the return map
|
||||
|
Loading…
Reference in New Issue
Block a user