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 66
77import java .util .*;
88
9- public class Lang /* extends play.api.i18n.Lang */ {}
9+ public class Lang {}
Original file line number Diff line number Diff line change 11package play .i18n ;
22
3- /** A Lang supported by the application. */
43public class Langs {}
Original file line number Diff line number Diff line change @@ -155,8 +155,6 @@ public Context withRequest(Request request) {
155155
156156 public static class Headers {
157157
158- private final Map <String , List <String >> headers ;
159-
160158 public Headers (Map <String , List <String >> headers ) {}
161159
162160 public Map <String , List <String >> toMap () {
@@ -756,7 +754,9 @@ public Cookie(
756754 boolean secure ,
757755 boolean httpOnly ) {}
758756
759- public static CookieBuilder builder (String name , String value ) {}
757+ public static CookieBuilder builder (String name , String value ) {
758+ return null ;
759+ }
760760
761761 public String name () {
762762 return "" ;
@@ -786,15 +786,15 @@ public boolean httpOnly() {
786786 return true ;
787787 }
788788
789- public Optional <SameSite > sameSite () {}
789+ public Optional <SameSite > sameSite () {
790+ return null ;
791+ }
790792
791793 public enum SameSite {
792794 STRICT ("Strict" ),
793795 LAX ("Lax" ),
794796 NONE ("None" );
795797
796- private final String value ;
797-
798798 SameSite (String value ) {}
799799
800800 public String value () {
@@ -820,7 +820,9 @@ public CookieBuilder withValue(String value) {
820820 }
821821
822822 @ Deprecated
823- public CookieBuilder withMaxAge (Integer maxAge ) {}
823+ public CookieBuilder withMaxAge (Integer maxAge ) {
824+ return null ;
825+ }
824826
825827 public CookieBuilder withMaxAge (Duration maxAge ) {
826828 return null ;
You can’t perform that action at this time.
0 commit comments