File tree Expand file tree Collapse file tree 3 files changed +10
-9
lines changed
java/ql/test/stubs/playframework-2.6.x/play Expand file tree Collapse file tree 3 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 6
6
7
7
import java .util .*;
8
8
9
- public class Lang /* extends play.api.i18n.Lang */ {}
9
+ public class Lang {}
Original file line number Diff line number Diff line change 1
1
package play .i18n ;
2
2
3
- /** A Lang supported by the application. */
4
3
public class Langs {}
Original file line number Diff line number Diff line change @@ -155,8 +155,6 @@ public Context withRequest(Request request) {
155
155
156
156
public static class Headers {
157
157
158
- private final Map <String , List <String >> headers ;
159
-
160
158
public Headers (Map <String , List <String >> headers ) {}
161
159
162
160
public Map <String , List <String >> toMap () {
@@ -756,7 +754,9 @@ public Cookie(
756
754
boolean secure ,
757
755
boolean httpOnly ) {}
758
756
759
- public static CookieBuilder builder (String name , String value ) {}
757
+ public static CookieBuilder builder (String name , String value ) {
758
+ return null ;
759
+ }
760
760
761
761
public String name () {
762
762
return "" ;
@@ -786,15 +786,15 @@ public boolean httpOnly() {
786
786
return true ;
787
787
}
788
788
789
- public Optional <SameSite > sameSite () {}
789
+ public Optional <SameSite > sameSite () {
790
+ return null ;
791
+ }
790
792
791
793
public enum SameSite {
792
794
STRICT ("Strict" ),
793
795
LAX ("Lax" ),
794
796
NONE ("None" );
795
797
796
- private final String value ;
797
-
798
798
SameSite (String value ) {}
799
799
800
800
public String value () {
@@ -820,7 +820,9 @@ public CookieBuilder withValue(String value) {
820
820
}
821
821
822
822
@ Deprecated
823
- public CookieBuilder withMaxAge (Integer maxAge ) {}
823
+ public CookieBuilder withMaxAge (Integer maxAge ) {
824
+ return null ;
825
+ }
824
826
825
827
public CookieBuilder withMaxAge (Duration maxAge ) {
826
828
return null ;
You can’t perform that action at this time.
0 commit comments