The list below cover changes between 5.0.0-rc1 and 5.0.0 GA only.
Also see Breaking changes in 5.0.
Circuit Breakers
@Slf4j | |
public class ExecutionContextExecutorServiceTest { | |
ExecutorService service = new ExecutionContextExecutorService(Executors.newFixedThreadPool(10)); | |
@Test | |
public void test() throws Exception { | |
try (MDCCloseable closeable = MDC.putCloseable("test", "xyz")) { |
type DiffKey<T extends string, U extends string> = ( | |
& {[P in T]: P } | |
& {[P in U]: never } | |
& { [x: string]: never } | |
)[T]; | |
type Omit<T, K extends keyof T> = Pick<T, DiffKey<keyof T, K>> | |
type Some = { | |
x: string, |
The list below cover changes between 5.0.0-rc1 and 5.0.0 GA only.
Also see Breaking changes in 5.0.
Circuit Breakers
{ | |
"env": { | |
"browser": true, | |
"es6": true | |
}, | |
"parser": "typescript-eslint-parser", | |
"parserOptions": { | |
"ecmaVersion": 6, | |
"sourceType": "module" | |
}, |
{ | |
"test": "string", | |
"vvvv": "{{{vvvv}}}", | |
"v": 2, | |
"d": {{{number}}}, | |
"{{{hogehoge}}}":[ | |
{{{template}}}, | |
"{{{edge}}}" | |
], | |
"test": bool(h) |
configurations { | |
groovyScript | |
} | |
dependencies { | |
groovyScript localGroovy() | |
} | |
task testRun(type:JavaExec){ |
type 'a myList = MyNil | MyCons of 'a * 'a myList | |
let rec print_mylist l = | |
match l with | |
| MyCons(head, tail) -> | |
print_string(head); | |
print_mylist(tail); | |
| MyNil -> print_string("nil") | |
{ | |
"presets": [ | |
[ | |
"es2015", | |
{ | |
"modules": false | |
} | |
], | |
"stage-0" | |
] |
version: '3' | |
services: | |
elasticsearch: | |
image: docker.elastic.co/elasticsearch/elasticsearch:5.3.3 | |
ports: | |
- "9200:9200" | |
- "9300:9300" | |
container_name: elasticsearch | |
hostname: elasticsearch |
@Grapes([ | |
@Grab(group= 'org.eclipse.jdt', module= 'org.eclipse.jdt.core', version= '3.12.3') | |
]) | |
import org.eclipse.jdt.core.dom.* | |
import org.eclipse.jdt.core.dom.rewrite.ASTRewrite; | |
import groovy.io.FileType | |
import org.eclipse.jface.text.BadLocationException | |
import org.eclipse.jface.text.Document | |
import org.eclipse.text.edits.MalformedTreeException |