Update year in copyright lines
[Sone.git] / src / main / java / net / pterodactylus / sone / utils / NumberParsers.java
index 9e8afb4..471fc26 100644 (file)
@@ -8,12 +8,10 @@ import com.google.common.primitives.Longs;
 
 /**
  * Parses numbers from strings.
- *
- * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
  */
 public class NumberParsers {
 
-       @Nonnull
+       @Nullable
        public static Integer parseInt(@Nullable String text,
                        @Nullable Integer defaultValue) {
                if (text == null) {
@@ -23,7 +21,7 @@ public class NumberParsers {
                return (value == null) ? defaultValue : value;
        }
 
-       @Nonnull
+       @Nullable
        public static Long parseLong(@Nullable String text,
                        @Nullable Long defaultValue) {
                if (text == null) {