Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions mug/src/main/java/com/google/mu/util/Substring.java
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ public final class Substring {
* Returns a {@code Prefix} pattern that matches strings starting with {@code prefix}.
*
* <p>Typically if you have a {@code String} constant representing a prefix, consider to declare a
* {@link Prefix} constant instead. The type is more explicit, and utilitiy methods like {@link
* {@link Prefix} constant instead. The type is more explicit, and utility methods like {@link
* Pattern#removeFrom}, {@link Pattern#from} are easier to discover and use.
*/
public static Prefix prefix(String prefix) {
Expand All @@ -435,7 +435,7 @@ public static Prefix prefix(String prefix) {
* Returns a {@code Prefix} pattern that matches strings starting with {@code prefix}.
*
* <p>Typically if you have a {@code char} constant representing a prefix, consider to declare a
* {@link Prefix} constant instead. The type is more explicit, and utilitiy methods like {@link
* {@link Prefix} constant instead. The type is more explicit, and utility methods like {@link
* Pattern#removeFrom}, {@link Pattern#from} are easier to discover and use.
*/
public static Prefix prefix(char prefix) {
Expand All @@ -446,7 +446,7 @@ public static Prefix prefix(char prefix) {
* Returns a {@code Suffix} pattern that matches strings ending with {@code suffix}.
*
* <p>Typically if you have a {@code String} constant representing a suffix, consider to declare a
* {@link Suffix} constant instead. The type is more explicit, and utilitiy methods like {@link
* {@link Suffix} constant instead. The type is more explicit, and utility methods like {@link
* Pattern#removeFrom}, {@link Pattern#from} are easier to discover and use.
*/
public static Suffix suffix(String suffix) {
Expand All @@ -457,7 +457,7 @@ public static Suffix suffix(String suffix) {
* Returns a {@code Suffix} pattern that matches strings ending with {@code suffix}.
*
* <p>Typically if you have a {@code char} constant representing a suffix, consider to declare a
* {@link Suffix} constant instead. The type is more explicit, and utilitiy methods like {@link
* {@link Suffix} constant instead. The type is more explicit, and utility methods like {@link
* Pattern#removeFrom}, {@link Pattern#from} are easier to discover and use.
*/
public static Suffix suffix(char suffix) {
Expand Down
Loading