File tree Expand file tree Collapse file tree
main/java/org/jooby/internal/pac4j
test/java/org/jooby/internal/pac4j Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -173,11 +173,6 @@ public String getRemoteAddr() {
173173 return req .ip ();
174174 }
175175
176- @ Override
177- public void setResponseCharacterEncoding (final String encoding ) {
178- // NOOP
179- }
180-
181176 @ Override
182177 public void setResponseContentType (final String content ) {
183178 rsp .type (content );
Original file line number Diff line number Diff line change @@ -339,10 +339,6 @@ public String getRemoteAddr() {
339339 return null ;
340340 }
341341
342- @ Override
343- public void setResponseCharacterEncoding (final String encoding ) {
344- }
345-
346342 @ Override
347343 public void setResponseContentType (final String content ) {
348344 }
Original file line number Diff line number Diff line change @@ -278,16 +278,6 @@ public void getRemmoteAddr() throws Exception {
278278 });
279279 }
280280
281- @ Test
282- public void setEncoding () throws Exception {
283- new MockUnit (Request .class , Response .class , Mutant .class )
284- .expect (params1 )
285- .run (unit -> {
286- AuthContext ctx = new AuthContext (unit .get (Request .class ), unit .get (Response .class ));
287- ctx .setResponseCharacterEncoding ("UTF-8" );
288- });
289- }
290-
291281 @ Test
292282 public void setContentType () throws Exception {
293283 new MockUnit (Request .class , Response .class , Mutant .class )
Original file line number Diff line number Diff line change @@ -2167,7 +2167,7 @@ org.eclipse.jdt.apt.processorOptions/defaultOverwrite=true
21672167 <javax .el-ref.version>2.2.6</javax .el-ref.version>
21682168 <gson .version>2.3.1</gson .version>
21692169 <ehcache .version>2.10.0</ehcache .version>
2170- <pac4j .version>1.8.1 </pac4j .version>
2170+ <pac4j .version>1.8.7 </pac4j .version>
21712171 <swagger .version>1.5.0</swagger .version>
21722172 <swagger-ui .version>2.1.8-M1</swagger-ui .version>
21732173 <commons-lang3 .version>3.4</commons-lang3 .version>
You can’t perform that action at this time.
0 commit comments