File tree Expand file tree Collapse file tree 18 files changed +0
-38
lines changed
guava/src/com/google/common
guava-testlib/src/com/google/common/escape/testing
guava/src/com/google/common
guava-testlib/src/com/google/common/escape/testing Expand file tree Collapse file tree 18 files changed +0
-38
lines changed Original file line number Diff line number Diff line change 18
18
19
19
import static com .google .common .escape .Escapers .computeReplacement ;
20
20
21
- import com .google .common .annotations .Beta ;
22
21
import com .google .common .annotations .GwtCompatible ;
23
22
import com .google .common .escape .CharEscaper ;
24
23
import com .google .common .escape .Escaper ;
32
31
* @author David Beaumont
33
32
* @since 15.0
34
33
*/
35
- @ Beta
36
34
@ GwtCompatible
37
35
public final class EscaperAsserts {
38
36
private EscaperAsserts () {}
Original file line number Diff line number Diff line change 16
16
17
17
import static com .google .common .base .Preconditions .checkNotNull ;
18
18
19
- import com .google .common .annotations .Beta ;
20
19
import com .google .common .annotations .GwtCompatible ;
21
20
import java .util .Map ;
22
21
import javax .annotation .CheckForNull ;
41
40
* @author David Beaumont
42
41
* @since 15.0
43
42
*/
44
- @ Beta
45
43
@ GwtCompatible
46
44
@ ElementTypesAreNonnullByDefault
47
45
public abstract class ArrayBasedCharEscaper extends CharEscaper {
Original file line number Diff line number Diff line change 16
16
17
17
import static com .google .common .base .Preconditions .checkNotNull ;
18
18
19
- import com .google .common .annotations .Beta ;
20
19
import com .google .common .annotations .GwtCompatible ;
21
20
import com .google .common .annotations .VisibleForTesting ;
22
21
import java .util .Collections ;
36
35
* @author David Beaumont
37
36
* @since 15.0
38
37
*/
39
- @ Beta
40
38
@ GwtCompatible
41
39
@ ElementTypesAreNonnullByDefault
42
40
public final class ArrayBasedEscaperMap {
Original file line number Diff line number Diff line change 16
16
17
17
import static com .google .common .base .Preconditions .checkNotNull ;
18
18
19
- import com .google .common .annotations .Beta ;
20
19
import com .google .common .annotations .GwtCompatible ;
21
20
import java .util .Map ;
22
21
import javax .annotation .CheckForNull ;
41
40
* @author David Beaumont
42
41
* @since 15.0
43
42
*/
44
- @ Beta
45
43
@ GwtCompatible
46
44
@ ElementTypesAreNonnullByDefault
47
45
public abstract class ArrayBasedUnicodeEscaper extends UnicodeEscaper {
Original file line number Diff line number Diff line change 16
16
17
17
import static com .google .common .base .Preconditions .checkNotNull ;
18
18
19
- import com .google .common .annotations .Beta ;
20
19
import com .google .common .annotations .GwtCompatible ;
21
20
import javax .annotation .CheckForNull ;
22
21
40
39
* @author Sven Mawson
41
40
* @since 15.0
42
41
*/
43
- @ Beta
44
42
@ GwtCompatible
45
43
@ ElementTypesAreNonnullByDefault
46
44
public abstract class CharEscaper extends Escaper {
Original file line number Diff line number Diff line change 16
16
17
17
import static com .google .common .base .Preconditions .checkNotNull ;
18
18
19
- import com .google .common .annotations .Beta ;
20
19
import com .google .common .annotations .GwtCompatible ;
21
20
import com .google .errorprone .annotations .CanIgnoreReturnValue ;
22
21
import java .util .HashMap ;
34
33
* @author Sven Mawson
35
34
* @since 15.0
36
35
*/
37
- @ Beta
38
36
@ GwtCompatible
39
37
@ ElementTypesAreNonnullByDefault
40
38
public final class CharEscaperBuilder {
Original file line number Diff line number Diff line change 16
16
17
17
import static com .google .common .base .Preconditions .checkNotNull ;
18
18
19
- import com .google .common .annotations .Beta ;
20
19
import com .google .common .annotations .GwtCompatible ;
21
20
import com .google .errorprone .annotations .CanIgnoreReturnValue ;
22
21
import java .util .HashMap ;
31
30
* @author David Beaumont
32
31
* @since 15.0
33
32
*/
34
- @ Beta
35
33
@ GwtCompatible
36
34
@ ElementTypesAreNonnullByDefault
37
35
public final class Escapers {
@@ -93,7 +91,6 @@ public static Builder builder() {
93
91
* @author David Beaumont
94
92
* @since 15.0
95
93
*/
96
- @ Beta
97
94
public static final class Builder {
98
95
private final Map <Character , String > replacementMap = new HashMap <>();
99
96
private char safeMin = Character .MIN_VALUE ;
Original file line number Diff line number Diff line change 16
16
17
17
import static com .google .common .base .Preconditions .checkNotNull ;
18
18
19
- import com .google .common .annotations .Beta ;
20
19
import com .google .common .annotations .GwtCompatible ;
21
20
import javax .annotation .CheckForNull ;
22
21
50
49
* @author David Beaumont
51
50
* @since 15.0
52
51
*/
53
- @ Beta
54
52
@ GwtCompatible
55
53
@ ElementTypesAreNonnullByDefault
56
54
public abstract class UnicodeEscaper extends Escaper {
Original file line number Diff line number Diff line change 14
14
15
15
package com .google .common .xml ;
16
16
17
- import com .google .common .annotations .Beta ;
18
17
import com .google .common .annotations .GwtCompatible ;
19
18
import com .google .common .escape .Escaper ;
20
19
import com .google .common .escape .Escapers ;
38
37
* @author David Beaumont
39
38
* @since 15.0
40
39
*/
41
- @ Beta
42
40
@ GwtCompatible
43
41
@ ElementTypesAreNonnullByDefault
44
42
public class XmlEscapers {
Original file line number Diff line number Diff line change 18
18
19
19
import static com .google .common .escape .Escapers .computeReplacement ;
20
20
21
- import com .google .common .annotations .Beta ;
22
21
import com .google .common .annotations .GwtCompatible ;
23
22
import com .google .common .escape .CharEscaper ;
24
23
import com .google .common .escape .Escaper ;
32
31
* @author David Beaumont
33
32
* @since 15.0
34
33
*/
35
- @ Beta
36
34
@ GwtCompatible
37
35
public final class EscaperAsserts {
38
36
private EscaperAsserts () {}
Original file line number Diff line number Diff line change 16
16
17
17
import static com .google .common .base .Preconditions .checkNotNull ;
18
18
19
- import com .google .common .annotations .Beta ;
20
19
import com .google .common .annotations .GwtCompatible ;
21
20
import java .util .Map ;
22
21
import javax .annotation .CheckForNull ;
41
40
* @author David Beaumont
42
41
* @since 15.0
43
42
*/
44
- @ Beta
45
43
@ GwtCompatible
46
44
@ ElementTypesAreNonnullByDefault
47
45
public abstract class ArrayBasedCharEscaper extends CharEscaper {
Original file line number Diff line number Diff line change 16
16
17
17
import static com .google .common .base .Preconditions .checkNotNull ;
18
18
19
- import com .google .common .annotations .Beta ;
20
19
import com .google .common .annotations .GwtCompatible ;
21
20
import com .google .common .annotations .VisibleForTesting ;
22
21
import java .util .Collections ;
36
35
* @author David Beaumont
37
36
* @since 15.0
38
37
*/
39
- @ Beta
40
38
@ GwtCompatible
41
39
@ ElementTypesAreNonnullByDefault
42
40
public final class ArrayBasedEscaperMap {
Original file line number Diff line number Diff line change 16
16
17
17
import static com .google .common .base .Preconditions .checkNotNull ;
18
18
19
- import com .google .common .annotations .Beta ;
20
19
import com .google .common .annotations .GwtCompatible ;
21
20
import java .util .Map ;
22
21
import javax .annotation .CheckForNull ;
41
40
* @author David Beaumont
42
41
* @since 15.0
43
42
*/
44
- @ Beta
45
43
@ GwtCompatible
46
44
@ ElementTypesAreNonnullByDefault
47
45
public abstract class ArrayBasedUnicodeEscaper extends UnicodeEscaper {
Original file line number Diff line number Diff line change 16
16
17
17
import static com .google .common .base .Preconditions .checkNotNull ;
18
18
19
- import com .google .common .annotations .Beta ;
20
19
import com .google .common .annotations .GwtCompatible ;
21
20
import javax .annotation .CheckForNull ;
22
21
40
39
* @author Sven Mawson
41
40
* @since 15.0
42
41
*/
43
- @ Beta
44
42
@ GwtCompatible
45
43
@ ElementTypesAreNonnullByDefault
46
44
public abstract class CharEscaper extends Escaper {
Original file line number Diff line number Diff line change 16
16
17
17
import static com .google .common .base .Preconditions .checkNotNull ;
18
18
19
- import com .google .common .annotations .Beta ;
20
19
import com .google .common .annotations .GwtCompatible ;
21
20
import com .google .errorprone .annotations .CanIgnoreReturnValue ;
22
21
import java .util .HashMap ;
34
33
* @author Sven Mawson
35
34
* @since 15.0
36
35
*/
37
- @ Beta
38
36
@ GwtCompatible
39
37
@ ElementTypesAreNonnullByDefault
40
38
public final class CharEscaperBuilder {
Original file line number Diff line number Diff line change 16
16
17
17
import static com .google .common .base .Preconditions .checkNotNull ;
18
18
19
- import com .google .common .annotations .Beta ;
20
19
import com .google .common .annotations .GwtCompatible ;
21
20
import com .google .errorprone .annotations .CanIgnoreReturnValue ;
22
21
import java .util .HashMap ;
31
30
* @author David Beaumont
32
31
* @since 15.0
33
32
*/
34
- @ Beta
35
33
@ GwtCompatible
36
34
@ ElementTypesAreNonnullByDefault
37
35
public final class Escapers {
@@ -93,7 +91,6 @@ public static Builder builder() {
93
91
* @author David Beaumont
94
92
* @since 15.0
95
93
*/
96
- @ Beta
97
94
public static final class Builder {
98
95
private final Map <Character , String > replacementMap = new HashMap <>();
99
96
private char safeMin = Character .MIN_VALUE ;
Original file line number Diff line number Diff line change 16
16
17
17
import static com .google .common .base .Preconditions .checkNotNull ;
18
18
19
- import com .google .common .annotations .Beta ;
20
19
import com .google .common .annotations .GwtCompatible ;
21
20
import javax .annotation .CheckForNull ;
22
21
50
49
* @author David Beaumont
51
50
* @since 15.0
52
51
*/
53
- @ Beta
54
52
@ GwtCompatible
55
53
@ ElementTypesAreNonnullByDefault
56
54
public abstract class UnicodeEscaper extends Escaper {
Original file line number Diff line number Diff line change 14
14
15
15
package com .google .common .xml ;
16
16
17
- import com .google .common .annotations .Beta ;
18
17
import com .google .common .annotations .GwtCompatible ;
19
18
import com .google .common .escape .Escaper ;
20
19
import com .google .common .escape .Escapers ;
38
37
* @author David Beaumont
39
38
* @since 15.0
40
39
*/
41
- @ Beta
42
40
@ GwtCompatible
43
41
@ ElementTypesAreNonnullByDefault
44
42
public class XmlEscapers {
You can’t perform that action at this time.
0 commit comments