Skip to content

Commit

Permalink
Restore import for java.util.Formatter.
Browse files Browse the repository at this point in the history
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=108345794
  • Loading branch information
simionato authored and cpovirk committed Nov 20, 2015
1 parent daf4349 commit 04ed591
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions guava/src/com/google/common/base/Strings.java
Expand Up @@ -22,6 +22,8 @@
import com.google.common.annotations.GwtCompatible;
import com.google.common.annotations.VisibleForTesting;

import java.util.Formatter;

import javax.annotation.CheckReturnValue;
import javax.annotation.Nullable;

Expand Down Expand Up @@ -86,7 +88,7 @@ public static boolean isNullOrEmpty(@Nullable String string) {
* <li>{@code padStart("2010", 3, '0')} returns {@code "2010"}
* </ul>
*
* <p>See {@link java.util.Formatter} for a richer set of formatting capabilities.
* <p>See {@link Formatter} for a richer set of formatting capabilities.
*
* @param string the string which should appear at the end of the result
* @param minLength the minimum length the resulting string must have. Can be
Expand Down Expand Up @@ -118,7 +120,7 @@ public static String padStart(String string, int minLength, char padChar) {
* <li>{@code padEnd("2010", 3, '!')} returns {@code "2010"}
* </ul>
*
* <p>See {@link java.util.Formatter} for a richer set of formatting capabilities.
* <p>See {@link Formatter} for a richer set of formatting capabilities.
*
* @param string the string which should appear at the beginning of the result
* @param minLength the minimum length the resulting string must have. Can be
Expand Down

0 comments on commit 04ed591

Please sign in to comment.