Fix typos

This commit is contained in:
Pierre Grimaud
2020-04-29 19:36:34 +02:00
parent fda7d00747
commit f9a40599fb
11 changed files with 20 additions and 20 deletions

View File

@ -72,7 +72,7 @@ public final class NBTUtils {
} else if (clazz.equals(LongArrayTag.class)) {
return "TAG_Long_Array";
} else {
throw new IllegalArgumentException("Invalid tag classs ("
throw new IllegalArgumentException("Invalid tag class ("
+ clazz.getName() + ").");
}
}
@ -112,7 +112,7 @@ public final class NBTUtils {
} else if (clazz.equals(LongArrayTag.class)) {
return NBTConstants.TYPE_LONG_ARRAY;
} else {
throw new IllegalArgumentException("Invalid tag classs ("
throw new IllegalArgumentException("Invalid tag class ("
+ clazz.getName() + ").");
}
}

View File

@ -36,7 +36,7 @@ public final class StringUtil {
/**
* Trim a string if it is longer than a certain length.
*
* @param str the stirng
* @param str the string
* @param len the length to trim to
* @return a new string
*/

View File

@ -23,7 +23,7 @@ import com.sk89q.worldedit.event.Event;
/**
* Fired when configuration has been loaded and the platform is in the
* intialization stage.
* initialization stage.
*
* <p>This event is fired once.</p>
*/

View File

@ -84,7 +84,7 @@ class CompilingVisitor extends ExpressionBaseVisitor<MethodHandle> {
* General idea is that we don't need to pass around variables, they're all in ExecutionData.
* We do need to pass that around, so most MethodHandles will be of the type
* (ExecutionData)Double, with a few as (ExecutionData,Double)Double where it needs an existing
* value passed in. EVERY handle returned from an overriden method must be of the first type.
* value passed in. EVERY handle returned from an overridden method must be of the first type.
*/
private final Functions functions;