Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 815af1ff authored by Alon Albert's avatar Alon Albert Committed by Android (Google) Code Review
Browse files

Merge "Throw NPE if s is null"

parents 4bc8bfaf 11afa8a4
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -481,6 +481,9 @@ public class Time {
     * @throws android.util.TimeFormatException if s cannot be parsed.
     */
     public boolean parse3339(String s) {
         if (s == null) {
             throw new NullPointerException("time string is null");
         }
         if (nativeParse3339(s)) {
             timezone = TIMEZONE_UTC;
             return true;